pygsti.tools.basistools#
Utility functions for working with Basis objects
Functions
|
Get a list of short labels corresponding to to the elements of the described basis. |
|
Get the "long name" for a particular basis, which is typically used in reports, etc. |
|
Get the elements of the specified basis-type which spans the density-matrix space given by dim. |
|
Convert a operation matrix from one basis of a density matrix space to another. |
|
Construct a Basis object with type given by basis and dimension appropriate for transforming mx. |
|
Constructs bases from transforming mx between two basis names. |
|
Change mx from start_basis to end_basis allowing embedding expansion and contraction if needed. |
|
Whether a basis contains sparse matrices. |
|
Wrapper for |
|
Change the basis of mx to a potentially larger or smaller 'std'-type basis given by std_basis_2. |
|
Convert a single qubit state vector into a Liouville vector in the Pauli basis. |
|
Convert a state vector into a density matrix. |
|
Convert a matrix in the standard basis to a vector in the Pauli basis. |
|
Convert a vector in this basis to a matrix in the standard basis. |