Skip to main content
IBM Quantum Platform
このページは古いバージョンのQiskit SDKです。 最新バージョンへ

InstructionProperties

class qiskit.transpiler.InstructionProperties(duration=None, error=None, *args, **kwargs)

GitHub

Bases: BaseInstructionProperties

A representation of the properties of a gate implementation.

This class provides the optional properties that a backend can provide about an instruction. These represent the set that the transpiler can currently work with if present. However, if your backend provides additional properties for instructions you should subclass this to add additional custom attributes for those custom/additional properties by the backend.

Create a new InstructionProperties object

Parameters

  • duration – The duration, in seconds, of the instruction on the specified set of qubits
  • error – The average error rate for the instruction on the specified set of qubits.

Attributes

duration

error

このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。