qit.utils.gellmann

qit.utils.gellmann(*args)

Gell-Mann matrices.

Parameters

d (int) – dimension

Returns

the d**2 - 1 (traceless, Hermitian) Gell-Mann matrices of dimension d

Return type

array[complex]

The Gell-Mann matrices are normalized such that \(\mathrm{Tr}(G_i^\dagger G_j) = \delta_{ij}\). They form an orthonormal basis for the real vector space of d*d traceless Hermitian matrices.

The matrices are returned in a 3d array A, arranged such that the n:th Gell-Mann matrix is A[n,:,:].