Skip to main content
IBM Quantum Platform

GateProperties

class GateProperties(qubits, gate, parameters, **kwargs)

GitHub

ベース: object

ゲートのプロパティを表すクラス。

qubits

クビット。

gate

ゲート。

parameters

パラメータがある。

パラメーター

  • qubits (list[int]) – 量子ビットを表す整数のリスト
  • gate (str) – 門の名前
  • parameters (list[Nduv]) – ゲートに対する「名前-日付-単位-値」の Nduv インスタンス一覧
  • kwargs (Any) – オプションの追加フィールド

方法

from_dict

classmethod from_dict(data)

GitHub

辞書から新しいGateオブジェクトを作成する。

パラメーター

data (dict[str, Any]) – 「創造への門」を表す辞書。 これは、. to_dict()によって出力されるものと同じ形式になります。

戻り値

入力辞書のNduv。

戻りの型

GatePropertiesT

to_dict

to_dict()

GitHub

BackendStatus の辞書形式表現を返す。

戻り値

ゲートの辞書的な形。

戻りの型

dict [str、 任意]

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