mqt.qecc.circuit_synthesis.synthesis¶
High-level synthesis functions for quantum circuits.
Classes¶
Base class for synthesis configuration. |
Functions¶
|
Eliminate a CSS check matrix using CNOT operations. |
|
Eliminate a non-CSS stabilizer tableau using transvections. |
Module Contents¶
- synthesize_cnot(matrix: CheckMatrix, config: SynthesisConfig | None = None, n_stabs: int = 0) tuple[EliminationSequence, CheckMatrix][source]¶
Eliminate a CSS check matrix using CNOT operations.
- Parameters:
matrix – The CSS check matrix to eliminate.
config – Configuration for the synthesis process.
n_stabs – Optional number of stabilizers
- Returns:
A tuple of (operations, final_matrix) where operations is the sequence of CNOT operations and final_matrix is the reduced check matrix.
- Raises:
ValueError – If optimization_criterion is not “gates” or “depth”.
- synthesize_non_css(tableau: PauliTableau, config: SynthesisConfig | None = None) tuple[EliminationSequence, PauliTableau][source]¶
Eliminate a non-CSS stabilizer tableau using transvections.
- Parameters:
tableau – The stabilizer tableau to eliminate.
config – Configuration for the synthesis process.
- Returns:
A tuple of (operations, final_tableau) where operations is the sequence of tableau operations and final_tableau is the reduced tableau.
- Raises:
ValueError – If optimization_criterion is not “gates” or “depth”.