Header menu logo Encodings

IndexedPauli Module

Defines the fundamental Pauli algebra types: Phase and Pauli operators.

This module provides exact (no floating-point error) representations of:

  • Phase factors: the four roots of unity {+1, -1, +i, -i}
  • Single-qubit Pauli operators: I, X, Y, Z
These are the building blocks for representing quantum operators in the Pauli basis.

Types

Type Description

Pauli

Single-qubit Pauli operators forming the Pauli group.

Phase

The global phase factor attached to a Pauli product.

Type something to start searching.