qml.utils.pauli_eigs¶

pauli_eigs(n)[source]

Eigenvalues for $$A^{\otimes n}$$, where $$A$$ is Pauli operator, or shares its eigenvalues.

As an example if n==2, then the eigenvalues of a tensor product consisting of two matrices sharing the eigenvalues with Pauli matrices is returned.

Parameters

n (int) – the number of qubits the matrix acts on

Returns

the eigenvalues of the specified observable

Return type

list