qiskit.compiler.sequence¶
-
sequence
(scheduled_circuits, backend=None, inst_map=None, meas_map=None, dt=None)[source]¶ Schedule a scheduled circuit to a pulse
Schedule
, using the backend.- Parameters
scheduled_circuits (
Union
[QuantumCircuit
,List
[QuantumCircuit
]]) – Scheduled circuit(s) to be translatedbackend (
Union
[Backend
,BaseBackend
,None
]) – A backend instance, which contains hardware-specific data required for schedulinginst_map (
Optional
[InstructionScheduleMap
]) – Mapping of circuit operations to pulse schedules. IfNone
, defaults to thebackend
’sinstruction_schedule_map
meas_map (
Optional
[List
[List
[int
]]]) – List of sets of qubits that must be measured together. IfNone
, defaults to thebackend
’smeas_map
dt (
Optional
[float
]) – The output sample rate of backend control electronics. For scheduled circuits which contain time information, dt is required. If not provided, it will be obtained from the backend configuration
- Return type
Union
[Schedule
,List
[Schedule
]]- Returns
A pulse
Schedule
that implements the input circuit- Raises
QiskitError – If
inst_map
andmeas_map
are not passed andbackend
is not passed