pre_build
samplomatic.builders.pre_build(circuit: QuantumCircuit, debug: bool = False) → tuple[TemplateState, PreSamplex]
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.
- debug – Whether to populate pre-nodes with information that traces them back to the boxes that generated them. Tracing information is based on
refattributes of box annotations.
Returns
The built template state and the corresponding pre-samplex.
이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.