qiskit_qm_provider.backend.backend_utils.add_basic_macros¶
- add_basic_macros(backend: QuamRoot | QMBackend, reset_type: Literal['active', 'thermalize'] = 'thermalize')[source][source]¶
Populate a QuAM machine with standard gate-level macros.
Adds
x,sx,rz,sy,sydg,measure,reset,delay,id, andczmacros. These definitions are tailored to flux-tunable transmon hardware and assume pulse naming fromFluxTunableQuam/ quam-builder (e.g.x180,x90, readout pulses,CZGateon pairs). One can either pass a BaseQuam instance or a QMBackend instance. If the latter is passed, the target will be updated accordingly.This is a convenience starting point, not a universal hardware definition. Override macros on your own
QuamRootfor other platforms; coordinate with the Quantum Machines team for quam-builder extensions as needed.