pygsti.baseobjs.basisconstructors#
Functions for creating the standard sets of matrices in the standard, Pauli, Gell-Mann, and qutrit bases
Functions
|
Return the classical-basis labels based on a vector dimension. |
|
Get the elements (vectors) of the classical basis with dimension dim |
|
Return the classical Gell-Mann basis labels based on a vector dimension. |
|
Get the elements (vectors) of the classical Gell-Mann basis with dimension dim |
|
Return the classical Pauli-product basis labels based on a vector dimension. |
|
Get the elements (vectors) of the classical Pauli-product basis with dimension dim |
|
Return the column-stacked-matrix-basis labels based on a matrix dimension. |
|
Get the elements of the matrix unit, or "column-stacked", basis of matrix-dimension matrix_dim. |
|
Gell-Mann basis labels. |
|
Get the normalized elements of the generalized Gell-Mann basis with matrix dimension matrix_dim. |
|
Get the elements of the generalized Gell-Mann basis spanning the density-matrix space given by matrix_dim. |
|
The identity-basis labels based on a matrix dimension. |
|
Matrices for the "identity" basis of matrix dimension matrix_dim. |
|
|
|
This basis is used to isolate the parts of Hilbert-Schmidt space that act on the computational subspace induced from a partition of 3-dimensional complex Hilbert space into a 2-dimensional computational subspace and a 1-dimensional leakage space. |
|
A matrix unit. |
|
Pauli-product basis labels. |
|
Get the elements of the Pauil-product basis with matrix dimension matrix_dim. |
|
QSim basis labels. |
|
Get the elements of the QuantumSim basis with matrix dimension matrix_dim. |
|
The qutrit-basis labels based on a matrix dimension. |
|
Get the elements of a special basis spanning the density-matrix space of a qutrit. |
|
Return the standard-matrix-basis labels based on a matrix dimension. |
|
Get the elements of the matrix unit, or "standard", basis of matrix-dimension matrix_dim. |
|
Return the state-vector-basis labels based on a vector dimension. |
|
Get the elements (vectors) of the complex state-vector basis with dimension dim. |
|
The elements of the "unknown" basis. |
|
The labels for the "unknown" basis. |
Classes
|
A factory class for constructing builtin basis types whose elements are diagonal matrices. |
|
A factory class for constructing builtin basis types whose elements are matrices. |
A constructor for a basis containing just a single element (e.g. the identity). |
|
|
A factory class for constructing builtin basis types whose elements are vectors. |