20 #include <mps/tools.h>
21 #include <mps/itebd.h>
28 return expected(psi, Op1, 0, Op2, 1);
32 expected(
const RiTEBD &psi,
const RTensor &Op1,
int i,
33 const RTensor &Op2,
int j)
double string_order(const RiTEBD &psi, const RTensor &Opi, int i, const RTensor &Opmiddle, const RTensor &Opj, int j)
String order parameter between sites 'i' and 'j', both included.
An infinite Matrix Product State with translational invariance but using two tensors: one for odd and...
double expected(const RMPS &psi, const Hamiltonian &H, double t)
Expected value of a Hamiltonian over a matrix product state.