QXel.transpiler.passes.stringfier module¶
- class QXel.transpiler.passes.stringfier.Stringfier(qubit_count)¶
Bases:
BasePassConvert a circuit into the compact gate-string form used downstream.
- __init__(qubit_count)¶
Store the logical qubit count for string generation.
- target_to_strings(targets)¶
Join a target list into the space-separated format used in strings.
- optimize(circuit)¶
Populate
circuit.stringswith the stabilizer backend syntax.