Hi everyone,
I don’t k ow if it’s a naive question,but here it is my doubt.
If I have my physical system encoded into an MPS \ket{\psi_0},how can measure a POVM, constructed by local operator acting on a single site?
In more detail, how can I put in code the following expression:
P=tr(\rho*M)
where \rho=\ket{\psi_0}\bra{\psi_0} and M is something like M=\mathbb{1}\otimes\mathbb{1}. . .\otimes M. . .\otimes 1\otimes 1\otimes 1.
Thank you in advance for your help
I just noticed this question is in the “C++ Questions” category, so here are your similar options for C++ ITensor:
We also have an expect function in C++ which takes operators that are supported by the SiteSet you are using. You can optionally pass a range of sites to measure over, such as