pre_build¶
- samplomatic.builders.pre_build(circuit: QuantumCircuit) tuple[TemplateState, PreSamplex][source]¶
Build a template state and a pre-samplex for the given boxed-up circuit.
This is a helper method to
build()and is not intended to be useful in standard workflows.- Parameters:
circuit – The circuit to build.
- Returns:
The built template state and the corresponding pre-samplex.