pygsti.baseobjs.basisconstructors.identity_matrices#
- identity_matrices(matrix_dim)#
Matrices for the “identity” basis of matrix dimension matrix_dim.
The “identity basis” consists of only the identity matrix, so this function returns a list of a single matrix_dim x matrix_dim identity matrix.
- Parameters:
matrix_dim (int) – The matrix dimension.
- Return type:
list