Expand description
This crate contains the core data structures and traits for the pg-libs library.
See tk-pg-libs for the available passes and usage examples, including T-count optimization.
Structs§
- Black
BoxData - Data associated with an opaque black-box operation.
- Conditional
BoxData - Data for a conditional box of operations.
- Gate
Data - Data associated with a gate operation.
- Measure
Data - Data associated with a Pauli measurement.
- Pauli
Graph - A tk-pg-core program consisting of a qubit count and an ordered list of operations.
- Reset
Data - Data associated with a reset operation.
- Rotation
Data - Data associated with a Pauli rotation.
- Tableau
Data - Tableau image data for a Clifford operation.
Enums§
- Gate
Type - The supported gate types that can appear in a Pauli graph.
- Op
- An operation node in a Pauli graph.
- Pauli
- A single-qubit Pauli operator.
- Pauli
Graph Error - Error type for PauliGraph operations and input validation.
Traits§
- PGPass
- A transformation pass over a Pauli graph.