Header menu logo Encodings

EncodingScheme Type

Defines the three index-set functions that characterise an encoding.

Record fields

Record Field Description

Occupation

Full Usage: Occupation

Field type: int -> Set<int>

Occupation set: qubits whose parity encodes n_j.

Field type: int -> Set<int>

Parity

Full Usage: Parity

Field type: int -> Set<int>

Parity set: qubits whose parity encodes n₀ ⊕ … ⊕ n_{j−1}.

Field type: int -> Set<int>

Update

Full Usage: Update

Field type: int -> int -> Set<int>

Update set: qubits (besides j) that need an X flip when n_j changes.

Field type: int -> int -> Set<int>

Type something to start searching.