Skip to main content

mpo

Overloads

NameDescription
mpo(const Operator operator) -> ComplexMPOConvert the supplied Operator to a Matrix Product Operator (MPO) with Complex values.
mpo(const Operator operator, as_complex type) -> ComplexMPOConvert the supplied Operator to a Matrix Product Operator (MPO) with Complex values.
mpo(const Operator operator, as_real type) -> RealMPOConvert the supplied Operator to a Matrix Product Operator (MPO) with Real values.
mpo(const Operator operator, integer size) -> ComplexMPOConvert the supplied symbolic operator to a Matrix Product Operator (MPO) with Complex values.
mpo(const Operator operator, integer size, as_real as_real) -> RealMPOConvert the supplied symbolic operator to a Matrix Product Operator (MPO) with Real values.
mpo(const Operator operator, integer size, as_complex as_complex) -> ComplexMPOConvert the supplied symbolic operator to a Matrix Product Operator (MPO) with Complex values.

mpo(const Operator operator) -> ComplexMPO

Convert the supplied Operator to a Matrix Product Operator (MPO) with Complex values.

Parameters

  • operator: A symbolic quantum operator. :::warning Not all operation are supported at this time :::

Returns

An ComplexMPO representing the supplied symbolic Operator object.

mpo(const Operator operator, as_complex type) -> ComplexMPO

Convert the supplied Operator to a Matrix Product Operator (MPO) with Complex values.

Parameters

  • operator: A symbolic quantum operator. :::warning Not all operation are supported at this time :::
  • type: The type of the tensor to create.

Returns

An ComplexMPO representing the supplied symbolic Operator object.

mpo(const Operator operator, as_real type) -> RealMPO

Convert the supplied Operator to a Matrix Product Operator (MPO) with Real values.

Parameters

  • operator: A symbolic quantum operator. :::warning Not all operation are supported at this time :::
  • type: The type of the tensor to create.

Returns

An RealMPO representing the supplied symbolic Operator object.

mpo(const Operator operator, integer size) -> ComplexMPO

Convert the supplied symbolic operator to a Matrix Product Operator (MPO) with Complex values.

Parameters

  • operator: A symbolic quantum operator. :::warning Not all operation are support at this time :::
  • size: number of sites of the resulting mpo.

Returns

An ComplexMPO representing the suplied symbolic Operator object.

mpo(const Operator operator, integer size, as_real as_real) -> RealMPO

Convert the supplied symbolic operator to a Matrix Product Operator (MPO) with Real values.

Parameters

  • operator: A symbolic quantum operator. :::warning Not all operation are support at this time :::
  • size: number of sites of the resulting mpo.
  • as_real:

Returns

An RealMPO representing the suplied symbolic Operator object.

mpo(const Operator operator, integer size, as_complex as_complex) -> ComplexMPO

Convert the supplied symbolic operator to a Matrix Product Operator (MPO) with Complex values.

Parameters

  • operator: A symbolic quantum operator. :::warning Not all operation are support at this time :::
  • size: number of sites of the resulting mpo.
  • as_complex:

Returns

An ComplexMPO representing the suplied symbolic Operator object.