CliffordGate#

class cuquantum.pauliprop.experimental.CliffordGate(name: str, qubit_indices: Sequence[int])[source]#

A Clifford gate (I, X, Y, Z, H, S, CX, CY, CZ, SWAP, iSWAP, etc.).

Methods

__init__(name: str, qubit_indices: Sequence[int])[source]#

Attributes

SUPPORTED_GATES: frozenset[str] = frozenset({'CX', 'CY', 'CZ', 'H', 'I', 'S', 'SWAP', 'SqrtX', 'SqrtY', 'SqrtZ', 'X', 'Y', 'Z', 'iSWAP'})#
name#

The name of the Clifford gate (e.g., ‘H’, ‘CX’, ‘SWAP’).

qubit_indices#

The qubit indices this gate acts on.