You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Construct the reduced density matrix `ρ` of the PEPS `peps` with open indices `inds` using the environment `env`.
319
-
Alternatively, construct the reduced density matrix `ρ` of a full density matrix PEPO with open indices `inds` using the environment `env`.
316
+
Construct the reduced density matrix `ρ` of PEPS or PEPO (representing PEPS with ancilla legs) `ket`, `bra` with open indices `inds` using the environment `env`.
317
+
Alternatively, construct the reduced density matrix `ρ` of a mixed state specified by the density matrix PEPO `state` with open indices `inds` using the environment `env`.
320
318
321
319
This works by generating the appropriate contraction on a rectangular patch with its corners
322
320
specified by `inds`. The result is normalized such that `tr(ρ) = 1`.
0 commit comments