Skip to main content

identity_mpo

Overloads

NameDescription
identity_mpo(integer length, integer physical_size) -> ComplexMPOGenerate an identity Matrix Product Operator (MPO) with Complex values.
identity_mpo(integer length, integer physical_size, as_real as_real) -> RealMPOGenerate an identity Matrix Product Operator (MPO) with Real values.
identity_mpo(integer length, integer physical_size, as_complex as_complex) -> ComplexMPOGenerate an identity Matrix Product Operator (MPO) with Complex values.

identity_mpo(integer length, integer physical_size) -> ComplexMPO

Generate an identity Matrix Product Operator (MPO) with Complex values.

Parameters

  • length: Number of sites in the MPO chain.
  • physical_size: Dimension of the physical (input/output) indices at each site.

Returns

An ComplexMPO representing the identity operator on the full Hilbert space.

identity_mpo(integer length, integer physical_size, as_real as_real) -> RealMPO

Generate an identity Matrix Product Operator (MPO) with Real values.

Parameters

  • length: Number of sites in the MPO chain.
  • physical_size: Dimension of the physical (input/output) indices at each site.
  • as_real:

Returns

An RealMPO representing the identity operator on the full Hilbert space.

identity_mpo(integer length, integer physical_size, as_complex as_complex) -> ComplexMPO

Generate an identity Matrix Product Operator (MPO) with Complex values.

Parameters

  • length: Number of sites in the MPO chain.
  • physical_size: Dimension of the physical (input/output) indices at each site.
  • as_complex:

Returns

An ComplexMPO representing the identity operator on the full Hilbert space.