Skip to main content

coefficient_matrix

Overloads​

NameDescription
coefficient_matrix(const ComplexMatrix psi, List<integer> sites) -> ComplexMatrixCreates a bipartite coefficient matrix from a single state vector using arbitrary subsystem cuts.
coefficient_matrix(const ComplexMatrix psi, integer La) -> ComplexMatrixCreates a bipartite coefficient matrix from a linear contiguous cut including La number of sites from a complex vector.
coefficient_matrix(const RealMatrix psi, List<integer> sites) -> RealMatrixCreates a bipartite coefficient matrix from a single state vector using arbitrary subsystem cuts.
coefficient_matrix(const RealMatrix psi, integer La) -> RealMatrixCreates a bipartite coefficient matrix from a linear contiguous cut including La number of sites from a real vector.

coefficient_matrix(const ComplexMatrix psi, List<integer> sites) -> ComplexMatrix​

Creates a bipartite coefficient matrix from a single state vector using arbitrary subsystem cuts.

Parameters​

  • psi: Complex state vector to decompose.
  • sites: List of site indices for your subsystem. The excluded sites are traced out.

coefficient_matrix(const ComplexMatrix psi, integer La) -> ComplexMatrix​

Creates a bipartite coefficient matrix from a linear contiguous cut including La number of sites from a complex vector.

Parameters​

  • psi: Complex state vector to decompose.
  • La: Integer specifying the number of sites in the left hand subsystem A and where the cut should end.

coefficient_matrix(const RealMatrix psi, List<integer> sites) -> RealMatrix​

Creates a bipartite coefficient matrix from a single state vector using arbitrary subsystem cuts.

Parameters​

  • psi: Real state vector to decompose.
  • sites: List of site indices for subsystem. The excluded sites are traced out.

coefficient_matrix(const RealMatrix psi, integer La) -> RealMatrix​

Creates a bipartite coefficient matrix from a linear contiguous cut including La number of sites from a real vector.

Parameters​

  • psi: Complex state vector to decompose.
  • La: Integer specifying the number of sites in the left hand subsystem A and where the cut should end.