primitivesΒΆ
Implementations of primitives for the Steane QEC architecture.
Primitives should be restricted to the most fundamental building blocks of a
QEC architecture. Operations that comprise multiple primitives should be added to
logical instead.
Based on https://arxiv.org/abs/2107.07505
Classes
An immutable Guppy struct of |
Functions
|
Logical CX gate between two Steane blocks. |
|
Logical CZ gate between two Steane blocks. |
|
Decode Steane measurement of logical block |
|
Logical H gate on a Steane block. |
|
Apply T gate via injection. |
|
Apply Tdg gate via injection. |
|
Implements Knill style syndrome extraction. |
|
Measure Steane block in the Z basis. |
Attempt to prepare a T|+> logical state on a Steane block. |
|
Attempt fault-tolerant zero preparation state once. |
|
Prepare Steane block in the logical zero state. |
|
|
Logical S gate on a Steane block. |
|
Logical S dagger gate on a Steane block. |
|
Implements X syndrome extraction via Steane with one-qubit teleportation. |
|
Implements Z syndrome extraction via Steane with one-qubit teleportation. |
|
Logical X gate on a Steane block. |
|
Logical Y gate on a Steane block. |
|
Logical Z gate on a Steane block. |