- class InstructionScheduleMap[ソース]¶
qiskit.circuit.Instructionnames and qubits to
Schedules. In particular, the mapping is formatted as type:
Dict[str, Dict[Tuple[int], Schedule]]
where the first key is the name of a circuit instruction (e.g.
'measure'), the second key is a tuple of qubit indices, and the final value is a Schedule implementing the requested instruction.
These can usually be seen as gate calibrations.
Initialize a circuit instruction to schedule mapper instance.
Add a new known instruction for the given qubits and its mapping to a pulse schedule.
Error if the given instruction is not defined.
Return the defined
ScheduleBlockfor the given instruction on the given qubits.
Return the list of parameters taken by the given instruction on the given qubits.
Is the instruction defined for the given qubits?
Trueif the map has user provided instruction.
Remove and return the defined schedule for the given instruction on the given qubits.
Return a list of the instruction names that are defined by the backend for the given qubit or qubits.
Return a list of the qubits for which the given instruction is defined.
Remove the given instruction from the listing of instructions defined in self.
Return all instructions which have definitions.
By default, these are typically the basis gates along with other instructions such as measure and reset.
The names of all the circuit instructions which have Schedule definitions in this.