QPanda3
0.1.0
Supported by OriginQ
|
Public Member Functions | |
None | __init__ (self, Choi other) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, PTM other) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, Chi other) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, SuperOp 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.PTM) -> int | |
int | get_output_dim (self) |
get_output_dim(self: quantum_info.PTM) -> int | |
bool | __eq__ (self, PTM state) |
eq(self: quantum_info.PTM, state: quantum_info.PTM) -> bool | |
None pyqpanda3.quantum_info.PTM.__init__ | ( | self, | |
Choi | other ) |
init(*args, **kwargs) Overloaded function.
Generate PTM object based on a Choi object
other | a quantum channel as a Choi object |
Generate PTM object based on a PTM object
other | a quantum channel as a PTM object |
Generate PTM object based on a Chi object
other | a quantum channel as a Chi object |
Generate PTM object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate PTM object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.PTM.__init__ | ( | self, | |
PTM | other ) |
init(*args, **kwargs) Overloaded function.
Generate PTM object based on a Choi object
other | a quantum channel as a Choi object |
Generate PTM object based on a PTM object
other | a quantum channel as a PTM object |
Generate PTM object based on a Chi object
other | a quantum channel as a Chi object |
Generate PTM object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate PTM object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.PTM.__init__ | ( | self, | |
Chi | other ) |
init(*args, **kwargs) Overloaded function.
Generate PTM object based on a Choi object
other | a quantum channel as a Choi object |
Generate PTM object based on a PTM object
other | a quantum channel as a PTM object |
Generate PTM object based on a Chi object
other | a quantum channel as a Chi object |
Generate PTM object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate PTM object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.PTM.__init__ | ( | self, | |
SuperOp | other ) |
init(*args, **kwargs) Overloaded function.
Generate PTM object based on a Choi object
other | a quantum channel as a Choi object |
Generate PTM object based on a PTM object
other | a quantum channel as a PTM object |
Generate PTM object based on a Chi object
other | a quantum channel as a Chi object |
Generate PTM object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate PTM object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.PTM.__init__ | ( | self, | |
other ) |
init(*args, **kwargs) Overloaded function.
Generate PTM object based on a Choi object
other | a quantum channel as a Choi object |
Generate PTM object based on a PTM object
other | a quantum channel as a PTM object |
Generate PTM object based on a Chi object
other | a quantum channel as a Chi object |
Generate PTM object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate PTM object based on a Kraus object
other | a quantum channel as a Kraus object |
bool pyqpanda3.quantum_info.PTM.__eq__ | ( | self, | |
PTM | state ) |
eq(self: quantum_info.PTM, state: quantum_info.PTM) -> bool
Equality check. Determine if the internal data of two PTM objects are equal.
other | another PTM object |
pyqpanda3.quantum_info.PTM.evolve | ( | self, | |
* | args, | ||
** | kwargs ) |
evolve(*args, **kwargs) Overloaded function.
Evolve a quantum state (density matrix) and return the result as a DensityMatrix object.
state | a DensityMatrix object as a quantum state |
Evolve a quantum state (state vector).
state | a StateVector object as a quantum state |
int pyqpanda3.quantum_info.PTM.get_input_dim | ( | self | ) |
get_input_dim(self: quantum_info.PTM) -> int
Get the input dimension of the QuantumChannel
int pyqpanda3.quantum_info.PTM.get_output_dim | ( | self | ) |
get_output_dim(self: quantum_info.PTM) -> int
Get the output dimension of the QuantumChannel