tqec.compile.compile.CompiledGraph#
- class CompiledGraph(layout_slices: list[BlockLayout], observables: list[AbstractObservable])[source]#
Represents a compiled block graph.
This class should be easy to scale and generate circuits directly.
- layout_slices#
a list of BlockLayout objects that represent the compiled blocks at contiguous time slices.
- Type:
- observables#
a list of AbstractObservable objects that represent the observables to be included in the compiled circuit.
- __init__(layout_slices: list[BlockLayout], observables: list[AbstractObservable]) None #
Methods
__init__
(layout_slices, observables)generate_stim_circuit
(k[, noise_model, ...])Generate the stim circuit from the compiled graph.
Attributes