utils
Utility functions and classes.
Functions
Return the average gate fidelity between two process matrices. |
|
Return the average gate fidelity between two unitary matrices. |
|
|
Extend a square array using specified indices. |
|
Check if a given matrix is unitary. |
|
Return the leakage from the qubit subspace. |
Compute the leakage from the qubit subspace of a quantum operation. |
|
|
Compute the partial trace of a matrix. |
|
Return the Kronecker tensor product of arrays. |
Classes
|
1D components (vector) class. |
|
2D components (tensor) class. |