GateBased 類別
一種通用的基於閘門的架構。 錯誤率可任意設定,參考中為 1e-3 或 1e-4。
參考:
Michael E. Beverland、Prakash Murali、Matthias Troyer、Krysta M. Svore、Torsten Hoefler、Vadym Kliuchnikov、Guang Hao Low、Mathias Soeken、Aarthi Sundaram、Alexander Vaschillo:評估以實現實際量子優勢的需求, arXiv:2211.07629
Jens Koch、Terri M. Yu、Jay Gambetta、A. A. Houck、D. I. Schuster、J. Majer、Alexandre Blais、M. H. Devoret、S. M. Girvin、R. J. Schoelkopf:源自 Cooper 對盒的電荷不敏感量子位設計, arXiv:cond-mat/0703002
建構函式
GateBased(*, error_rate: float = 0.0001, gate_time: int, measurement_time: int, two_qubit_gate_time: int | None = None)
參數
| 名稱 | Description |
|---|---|
|
error_rate
必要
|
所有閘門的錯誤率。 預設為1e-4。 |
|
gate_time
必要
|
單量子位元閘的時間(以 ns 為單位)。 |
|
measurement_time
必要
|
測量運算的時間(以 ns 為單位)。 |
|
two_qubit_gate_time
必要
|
雙量子位閘(CNOT、CZ)的時間(單位為 ns)。
若未提供,則預設為 。 |
僅限關鍵字的參數
| 名稱 | Description |
|---|---|
|
error_rate
|
預設值: 0.0001
|
|
gate_time
必要
|
|
|
measurement_time
必要
|
|
|
two_qubit_gate_time
|
預設值: None
|
方法
| provided_isa |
provided_isa
provided_isa(ctx: ISAContext) -> ISA
參數
| 名稱 | Description |
|---|---|
|
ctx
必要
|
|
屬性
error_rate
error_rate: float = 0.0001
gate_time
gate_time: int
measurement_time
measurement_time: int
two_qubit_gate_time
two_qubit_gate_time: int | None = None