pygsti.baseobjs.basisconstructors.qt_matrices

Contents

pygsti.baseobjs.basisconstructors.qt_matrices#

qt_matrices(matrix_dim, selected_pp_indices=(0, 5, 10, 11, 1, 2, 3, 6, 7))#

Get the elements of a special basis spanning the density-matrix space of a qutrit.

The returned matrices are given in the standard basis of the density matrix space. These matrices form an orthonormal basis under the trace inner product, i.e. Tr( dot(Mi,Mj) ) == delta_ij.

Parameters:
  • matrix_dim (int) – Matrix-dimension of the density-matrix space. Must equal 3 (present just to maintain consistency which other routines)

  • selected_pp_indices (tuple, optional) – The indices of the 2-qubit Pauli-product matrices that should be projected onto the qutrit space to arrive at a qutrit basis. Don’t alter this value unless you know what you’re doing.

Returns:

A list of 9 numpy arrays each of shape (3, 3).

Return type:

list