schedule¶
- schedule(circuits, backend=None, inst_map=None, meas_map=None, method=None)[source]¶
Schedule a circuit to a pulse
Schedule
, using the backend, according to any specified methods. Supported methods are documented inqiskit.scheduler.schedule_circuit
.- Parameters
circuits (
Union
[QuantumCircuit
,List
[QuantumCircuit
]]) – The quantum circuit or circuits to translatebackend (
Optional
[BaseBackend
]) – 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
method (
Union
[str
,List
[str
],None
]) – Optionally specify a particular scheduling method
- Return type
- Returns
A pulse
Schedule
that implements the input circuit- Raises
QiskitError – If
inst_map
andmeas_map
are not passed andbackend
is not passed