loom.eka.utilities.pauli_array

Copyright (c) Entropica Labs Pte Ltd 2025.

Use, distribution and reproduction of this program in its source or compiled form is prohibited without the express written consent of Entropica Labs Pte Ltd.

class loom.eka.utilities.pauli_array.PauliArray[source]

Bases: ABC

Abstract class for PauliArray, parent of StabArray and Tableau.

Parameters:

array (np.ndarray) – The array representation of the PauliArray.

array: ndarray
property nqubits: int

The number of qubits that the PauliArray operators act on.

property x: ndarray

The array representing the X-component of the PauliArray in binary representation.

property z: ndarray

The array representing the Z-component of the PauliArray in binary representation.