Header menu logo Encodings

SymplecticVector Type

Binary (GF(2)) symplectic vector representing an n-qubit Pauli string. Layout: [x₀ x₁ … xₙ₋₁ | z₀ z₁ … zₙ₋₁] where I=(0,0), X=(1,0), Y=(1,1), Z=(0,1).

Record fields

Record Field Description

N

Full Usage: N

Field type: int
Field type: int

X

Full Usage: X

Field type: bool[]
Field type: bool[]

Z

Full Usage: Z

Field type: bool[]
Field type: bool[]

Type something to start searching.