I have an issue. I’d like to reconstruct density matrices obtained from the limited number of shots. I guess the only way is to calculate it back from the measurements obtained from the Pauli basis, say all the tensor combinations of local Pauli.
In one word: how can I insert them in a [ expval(o) for o in allCorrelators] approach? I don’t know how to handle the “@” syntax.
# Put code here
If you want help with diagnosing an error, please put the full error message below:
# Put full error message here
And, finally, make sure to include the versions of your packages. Specifically, show us the output of