qat.quops.math_util.make_pauli_matrix_basis
- qat.quops.math_util.make_pauli_matrix_basis(nqbits)
Construct the Pauli basis (including identity) for \(N\) qubits
\[\sigma_{I_1}^{(1)} \otimes \sigma_{I_2}^{(2)} \otimes \ldots \otimes \sigma_{I_N}^{(N)}\]with \(\sigma_{I}\) respectively denoting the identity and the X, Y, Z Pauli matrices.
- Parameters
nqbits (int) – number of qubits \(N\)
- Returns
list of Pauli matrices
- Return type
list<np.ndarray>