Modules§
- clifford_
t - Clifford+T gate decomposition with optimal T-count
- solovay_
kitaev - Solovay-Kitaev algorithm for approximating arbitrary quantum gates
- utils
- Utility module for gate composition and decomposition
Structs§
- Composite
Gate - A generic composite gate that combines multiple gates into one
Traits§
- Gate
Composable - Trait for gate composition
- Gate
Decomposable - Trait for gate decomposition
Functions§
- decompose_
controlled_ rotation - Decompose a controlled-rotation gate into single-qubit and CNOT gates
- decompose_
fredkin - Decompose a Fredkin (CSWAP) gate
- decompose_
swap - Decompose a SWAP gate into CNOTs
- decompose_
toffoli - Decompose a Toffoli (CCNOT) gate
- decompose_
u_ gate - Decompose a U gate into RZ-RY-RZ Euler angle decomposition