Skip to main content

Crate tk_pg_core

Crate tk_pg_core 

Source
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§

BlackBoxData
Data associated with an opaque black-box operation.
ConditionalBoxData
Data for a conditional box of operations.
GateData
Data associated with a gate operation.
MeasureData
Data associated with a Pauli measurement.
PauliGraph
A tk-pg-core program consisting of a qubit count and an ordered list of operations.
ResetData
Data associated with a reset operation.
RotationData
Data associated with a Pauli rotation.
TableauData
Tableau image data for a Clifford operation.

Enums§

GateType
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.
PauliGraphError
Error type for PauliGraph operations and input validation.

Traits§

PGPass
A transformation pass over a Pauli graph.