qiskit.transpiler.InstructionDurations.update¶
- InstructionDurations.update(inst_durations, dt=None)[source]¶
Update self with inst_durations (inst_durations overwrite self).
- প্যারামিটার
inst_durations (
Optional
[Union
[List
[Tuple
[str
,Optional
[Iterable
[int
]],float
,Optional
[Iterable
[float
]],str
]],List
[Tuple
[str
,Optional
[Iterable
[int
]],float
,Optional
[Iterable
[float
]]]],List
[Tuple
[str
,Optional
[Iterable
[int
]],float
,str
]],List
[Tuple
[str
,Optional
[Iterable
[int
]],float
]],InstructionDurations
]]) -- Instruction durations to be merged into self (overwriting self).dt (
Optional
[float
]) -- Sampling duration in seconds of the target backend.
- রিটার্নস
The updated InstructionDurations.
- রিটার্ন টাইপ
- রেইজেস
TranspilerError -- If the format of instruction_durations is invalid.