QPanda3  0.1.0
Supported by OriginQ
Loading...
Searching...
No Matches
pyqpanda3.quantum_info.Chi Class Reference

Public Member Functions

None __init__ (self, Chi other)
 init(*args, **kwargs) Overloaded function.
 
None __init__ (self, other)
 init(*args, **kwargs) Overloaded function.
 
None __init__ (self, other)
 init(*args, **kwargs) Overloaded function.
 
None __init__ (self, other)
 init(*args, **kwargs) Overloaded function.
 
None __init__ (self, other)
 init(*args, **kwargs) Overloaded function.
 
 evolve (self, *args, **kwargs)
 evolve(*args, **kwargs) Overloaded function.
 
int get_input_dim (self)
 get_input_dim(self: quantum_info.Chi) -> int
 
int get_output_dim (self)
 get_output_dim(self: quantum_info.Chi) -> int
 
bool __eq__ (self, Chi other)
 eq(self: quantum_info.Chi, other: quantum_info.Chi) -> bool
 

Constructor & Destructor Documentation

◆ __init__() [1/5]

None pyqpanda3.quantum_info.Chi.__init__ ( self,
Chi other )

init(*args, **kwargs) Overloaded function.

  1. init(self: quantum_info.Chi, other: quantum_info.Chi) -> None

Generate Chi object based on a Chi object

Parameters
othera quantum channel as a Chi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Choi) -> None

Generate Chi object based on a Choi object

Parameters
othera quantum channel as a Choi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::PTM) -> None

Generate Chi object based on a PTM object

Parameters
othera quantum channel as a PTM object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::SuperOp) -> None

Generate Chi object based on a SuperOp object

Parameters
othera quantum channel as a SuperOp object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Kraus) -> None

Generate Chi object based on a Kraus object

Parameters
othera quantum channel as a Kraus object

◆ __init__() [2/5]

None pyqpanda3.quantum_info.Chi.__init__ ( self,
other )

init(*args, **kwargs) Overloaded function.

  1. init(self: quantum_info.Chi, other: quantum_info.Chi) -> None

Generate Chi object based on a Chi object

Parameters
othera quantum channel as a Chi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Choi) -> None

Generate Chi object based on a Choi object

Parameters
othera quantum channel as a Choi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::PTM) -> None

Generate Chi object based on a PTM object

Parameters
othera quantum channel as a PTM object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::SuperOp) -> None

Generate Chi object based on a SuperOp object

Parameters
othera quantum channel as a SuperOp object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Kraus) -> None

Generate Chi object based on a Kraus object

Parameters
othera quantum channel as a Kraus object

◆ __init__() [3/5]

None pyqpanda3.quantum_info.Chi.__init__ ( self,
other )

init(*args, **kwargs) Overloaded function.

  1. init(self: quantum_info.Chi, other: quantum_info.Chi) -> None

Generate Chi object based on a Chi object

Parameters
othera quantum channel as a Chi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Choi) -> None

Generate Chi object based on a Choi object

Parameters
othera quantum channel as a Choi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::PTM) -> None

Generate Chi object based on a PTM object

Parameters
othera quantum channel as a PTM object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::SuperOp) -> None

Generate Chi object based on a SuperOp object

Parameters
othera quantum channel as a SuperOp object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Kraus) -> None

Generate Chi object based on a Kraus object

Parameters
othera quantum channel as a Kraus object

◆ __init__() [4/5]

None pyqpanda3.quantum_info.Chi.__init__ ( self,
other )

init(*args, **kwargs) Overloaded function.

  1. init(self: quantum_info.Chi, other: quantum_info.Chi) -> None

Generate Chi object based on a Chi object

Parameters
othera quantum channel as a Chi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Choi) -> None

Generate Chi object based on a Choi object

Parameters
othera quantum channel as a Choi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::PTM) -> None

Generate Chi object based on a PTM object

Parameters
othera quantum channel as a PTM object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::SuperOp) -> None

Generate Chi object based on a SuperOp object

Parameters
othera quantum channel as a SuperOp object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Kraus) -> None

Generate Chi object based on a Kraus object

Parameters
othera quantum channel as a Kraus object

◆ __init__() [5/5]

None pyqpanda3.quantum_info.Chi.__init__ ( self,
other )

init(*args, **kwargs) Overloaded function.

  1. init(self: quantum_info.Chi, other: quantum_info.Chi) -> None

Generate Chi object based on a Chi object

Parameters
othera quantum channel as a Chi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Choi) -> None

Generate Chi object based on a Choi object

Parameters
othera quantum channel as a Choi object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::PTM) -> None

Generate Chi object based on a PTM object

Parameters
othera quantum channel as a PTM object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::SuperOp) -> None

Generate Chi object based on a SuperOp object

Parameters
othera quantum channel as a SuperOp object
  1. init(self: quantum_info.Chi, other: QPanda::QuantumInformation::Kraus) -> None

Generate Chi object based on a Kraus object

Parameters
othera quantum channel as a Kraus object

Member Function Documentation

◆ __eq__()

bool pyqpanda3.quantum_info.Chi.__eq__ ( self,
Chi other )

eq(self: quantum_info.Chi, other: quantum_info.Chi) -> bool

Equality check. Determine if the internal data of two Chi objects are equal.

Parameters
otheranother Chi object
Returns
Bool if they are same, return true.

◆ evolve()

pyqpanda3.quantum_info.Chi.evolve ( self,
* args,
** kwargs )

evolve(*args, **kwargs) Overloaded function.

  1. evolve(self: quantum_info.Chi, state: QPanda::QuantumInformation::DensityMatrix) -> QPanda::QuantumInformation::DensityMatrix

Evolve a quantum state (density matrix) and return the result as a DensityMatrix object.

Parameters
statea DensityMatrix object as a quantum state
Returns
DensityMatrix a DensityMatrix object as result of evolving.
  1. evolve(self: quantum_info.Chi, state: QPanda::QuantumInformation::StateVector) -> QPanda::QuantumInformation::DensityMatrix

Evolve a quantum state (state vector).

Parameters
statea StateVector object as a quantum state
Returns
DensityMatrix a DensityMatrix object as result of evolving.

◆ get_input_dim()

int pyqpanda3.quantum_info.Chi.get_input_dim ( self)

get_input_dim(self: quantum_info.Chi) -> int

Get the input dimension of the QuantumChannel

Returns
size_t the input dimension of the QuantumChannel

◆ get_output_dim()

int pyqpanda3.quantum_info.Chi.get_output_dim ( self)

get_output_dim(self: quantum_info.Chi) -> int

Get the output dimension of the QuantumChannel

Returns
size_t the output dimension of the QuantumChannel

The documentation for this class was generated from the following file: