QPanda3
0.1.0
Supported by OriginQ
|
Public Member Functions | |
None | __init__ (self) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, list[Matrix] left) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, list[numpy.ndarray[numpy.complex128[m, n]]] left) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, list[Matrix] left, list[Matrix] right) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, list[numpy.ndarray[numpy.complex128[m, n]]] left, list[numpy.ndarray[numpy.complex128[m, n]]] right) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, numpy.ndarray[numpy.complex128[m, n]] matrix) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, Matrix matrix) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, Choi 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, PTM other) |
init(*args, **kwargs) Overloaded function. | |
None | __init__ (self, Kraus other) |
init(*args, **kwargs) Overloaded function. | |
bool | append (self, Kraus other) |
append(self: quantum_info.Kraus, other: quantum_info.Kraus) -> bool | |
None | clear (self) |
clear(self: quantum_info.Kraus) -> None | |
evolve (self, *args, **kwargs) | |
evolve(*args, **kwargs) Overloaded function. | |
int | get_input_dim (self) |
get_input_dim(self: quantum_info.Kraus) -> int | |
int | get_output_dim (self) |
get_output_dim(self: quantum_info.Kraus) -> int | |
list[Matrix] | left (self) |
left(self: quantum_info.Kraus) -> list[quantum_info.Matrix] | |
None | left_push_back (self, Matrix val) |
left_push_back(*args, **kwargs) Overloaded function. | |
None | left_push_back (self, numpy.ndarray[numpy.complex128[m, n]] val) |
left_push_back(*args, **kwargs) Overloaded function. | |
list[Matrix] | right (self) |
right(self: quantum_info.Kraus) -> list[quantum_info.Matrix] | |
None | right_push_back (self, Matrix val) |
right_push_back(*args, **kwargs) Overloaded function. | |
None | right_push_back (self, numpy.ndarray[numpy.complex128[m, n]] val) |
right_push_back(*args, **kwargs) Overloaded function. | |
bool | __eq__ (self, Kraus other) |
eq(self: quantum_info.Kraus, other: quantum_info.Kraus) -> bool | |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self | ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
list[Matrix] | left ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
list[numpy.ndarray[numpy.complex128[m, n]]] | left ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
list[numpy.ndarray[numpy.complex128[m, n]]] | left, | ||
list[numpy.ndarray[numpy.complex128[m, n]]] | right ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
numpy.ndarray[numpy.complex128[m, n]] | matrix ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
Matrix | matrix ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
Choi | other ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
Chi | other ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
SuperOp | other ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
PTM | other ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
None pyqpanda3.quantum_info.Kraus.__init__ | ( | self, | |
Kraus | other ) |
init(*args, **kwargs) Overloaded function.
Default constructor, generates a Kraus object with no elements
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
left | a kraus operator list |
Construct a Kraus object based on a list of operators (an array of 2D matrices).. @detail The left operator list of the generated Kraus object is constructed from the input array of matrices, while the right operator list is empty
right | a kraus operator list |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on two lists of operators (arrays of 2D matrices). @detail The left operator list of the generated Kraus object is constructed from the first input array, and the right operator list is constructed from the second input array.
left | a kraus operator list for left operator list of the generated Kraus object |
right | a kraus operator list for right operator list of the generated Kraus object |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Construct a Kraus object based on a single operator (a 2D matrix). @detail The left operator list of the generated Kraus object is constructed from the input. The right operator list of the generated Kraus object is empty.
matrix | a single operator (a 2D matrix) |
Generate Kraus object based on a Choi object
other | a quantum channel as a Choi object |
Generate Kraus object based on a Chi object
other | a quantum channel as a Chi object |
Generate Kraus object based on a SuperOp object
other | a quantum channel as a SuperOp object |
Generate Kraus object based on a PTM object
other | a quantum channel as a PTM object |
Generate Kraus object based on a Kraus object
other | a quantum channel as a Kraus object |
bool pyqpanda3.quantum_info.Kraus.__eq__ | ( | self, | |
Kraus | other ) |
eq(self: quantum_info.Kraus, other: quantum_info.Kraus) -> bool
Equality check. Determine if the internal data of two Kraus objects are equal.
bool pyqpanda3.quantum_info.Kraus.append | ( | self, | |
Kraus | other ) |
append(self: quantum_info.Kraus, other: quantum_info.Kraus) -> bool
Append the internal data of another Kraus object to the end of the current Kraus object's internal data
other | another Kraus object |
None pyqpanda3.quantum_info.Kraus.clear | ( | self | ) |
clear(self: quantum_info.Kraus) -> None
Clear the data in Kraus object
pyqpanda3.quantum_info.Kraus.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.Kraus.get_input_dim | ( | self | ) |
get_input_dim(self: quantum_info.Kraus) -> int
Get the input dimension of the QuantumChannel
int pyqpanda3.quantum_info.Kraus.get_output_dim | ( | self | ) |
get_output_dim(self: quantum_info.Kraus) -> int
Get the output dimension of the QuantumChannel
list[Matrix] pyqpanda3.quantum_info.Kraus.left | ( | self | ) |
left(self: quantum_info.Kraus) -> list[quantum_info.Matrix]
Retrieve the list of left operators inside a Kraus object
None pyqpanda3.quantum_info.Kraus.left_push_back | ( | self, | |
Matrix | val ) |
left_push_back(*args, **kwargs) Overloaded function.
Add the data from a Matrix object to the end of the left operator list inside a Kraus object
val | a Matrix object |
Add the data from a Matrix object to the end of the left operator list inside a Kraus object
val | a Matrix object |
None pyqpanda3.quantum_info.Kraus.left_push_back | ( | self, | |
numpy.ndarray[numpy.complex128[m, n]] | val ) |
left_push_back(*args, **kwargs) Overloaded function.
Add the data from a Matrix object to the end of the left operator list inside a Kraus object
val | a Matrix object |
Add the data from a Matrix object to the end of the left operator list inside a Kraus object
val | a Matrix object |
list[Matrix] pyqpanda3.quantum_info.Kraus.right | ( | self | ) |
right(self: quantum_info.Kraus) -> list[quantum_info.Matrix]
Retrieve the list of right operators inside a Kraus object
None pyqpanda3.quantum_info.Kraus.right_push_back | ( | self, | |
Matrix | val ) |
right_push_back(*args, **kwargs) Overloaded function.
Add the data from a Matrix object to the end of the right operator list inside a Kraus object
val | a Matrix object |
Add the data from a Matrix object to the end of the right operator list inside a Kraus object
val | a Matrix object |
None pyqpanda3.quantum_info.Kraus.right_push_back | ( | self, | |
numpy.ndarray[numpy.complex128[m, n]] | val ) |
right_push_back(*args, **kwargs) Overloaded function.
Add the data from a Matrix object to the end of the right operator list inside a Kraus object
val | a Matrix object |
Add the data from a Matrix object to the end of the right operator list inside a Kraus object
val | a Matrix object |