Quantum Information (qiskit.quantum_info
)¶
Operators¶
|
Matrix operator class |
|
An N-qubit unitary operator from the Clifford group. |
|
Scalar identity operator class. |
|
Sparse N-qubit operator in a Pauli basis representation. |
|
A simple class representing Pauli Operators. |
|
Return the Pauli group with 4^n elements. |
|
A class representing a Quaternion. |
|
Symplectic representation of a list Pauli matrices. |
|
Symplectic representation of a list Stabilizer matrices. |
|
Return the ordered PauliTable for the n-qubit Pauli basis. |
States¶
|
Statevector class |
|
DensityMatrix class |
Channels¶
|
Choi-matrix representation of a Quantum Channel. |
|
Superoperator representation of a quantum channel. |
|
Kraus representation of a quantum channel. |
|
Stinespring representation of a quantum channel. |
|
Pauli basis Chi-matrix representation of a quantum channel. |
|
Pauli Transfer Matrix (PTM) representation of a Quantum Channel. |
Measures¶
|
Return the average gate fidelity of a noisy quantum channel. |
|
Return the process fidelity of a noisy quantum channel. |
|
Return the gate error of a noisy quantum channel. |
|
Return the diamond norm of the input quantum channel object. |
|
Return the state fidelity between two quantum states. |
|
Calculate the purity of a quantum state. |
|
Calculate the concurrence of a quantum state. |
|
Calculate the von-Neumann entropy of a quantum state. |
|
Calculate the entanglement of formation of quantum state. |
|
Calculate the mutual information of a bipartite state. |
Utility Functions¶
|
Return reduced density matrix by tracing out part of quantum state. |
|
Compute the Shannon entropy of a probability vector. |
Random¶
|
Generator a random Statevector. |
|
Generator a random DensityMatrix. |
|
Return a random unitary Operator. |
|
Return a random hermitian Operator. |
|
Return a random Clifford operator. |
|
Return a random CPTP quantum channel. |
|
Return a random PauliTable. |
|
Return a random StabilizerTable. |
|
DEPRECATED Return a random quantum state. |
Analysis¶
|
Computes the Hellinger fidelity between two counts distributions. |
Synthesis¶
|
A class for decomposing 1-qubit unitaries into Euler angle rotations. |
|
A class for decomposing 2-qubit unitaries into minimal number of uses of a 2-qubit basis gate. |
A class for decomposing 2-qubit unitaries into minimal number of uses of a 2-qubit basis gate. |
|
|
DEPRECATED: Compute Euler angles for a single-qubit gate. |