NoiseLearnerV3Options
class NoiseLearnerV3Options(shots_per_randomization=128, num_randomizations=32, layer_pair_depths=(0, 1, 2, 4, 16, 32), post_selection=<factory>, experimental=<factory>, execution=<factory>, environment=<factory>)
ベース: object
NoiseLearnerV3. のオプション
属性
パラメーター
- shots_per_randomization (Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])])
- num_randomizations (Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1)])])
- layer_pair_depths (list[Annotated[int, FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0)])]])
- post_selection (PostSelectionOptions)
- experimental (dict)
- execution (ExecutionOptions)
- environment (EnvironmentOptions)
environment
タイプ: EnvironmentOptions
デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=EnvironmentOptions)
実行環境に関連するオプション。
execution
タイプ: ExecutionOptions
デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=ExecutionOptions)
低レベルの実行オプション。
experimental
タイプ: dict
デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=dict)
実験オプション。
これらのオプションは予告なく変更される場合があり、安定性は保証されません。
layer_pair_depths
タイプ: list[Annotated[int, FieldInfo(annotation
デフォルト値: NoneType, required=True, metadata=[Ge(ge=0)])]] = (0, 1, 2, 4, 16, 32)
パウリ・リンドブラッド実験で使用する回路の深さ(ペア数で測定)。
ノイズ学習の実装において、エンタングルメントゲートの order-2 な性質を活用するため、ペアを単位として使用しています。 例えば、値 は 3 、対象のレイヤーが6回繰り返されることに相当します。
このフィールドは、TREXの実験では無視されます。
num_randomizations
タイプ: Annotated[int, FieldInfo(annotation
デフォルト値: NoneType, required=True, metadata=[Ge(ge=1)])] = 32
学習回路構成ごとに使用するランダム回路の数。
TREX実験において、構成は測定基底である。
パウリ・リンドブラッドの実験において、構成とは、測定基底と深度設定のことである。 たとえば、実験に6つの深度がある場合、この値を に 32 設定すると、合計 で 32 * 9 * 6 実行が必要な回路が生成されます(ここで 9 は、必要な観測量をすべて測定するために実装が必要な回路の数です。詳細については、 のドキュメント文字列にある注記を参照してください)。各回路は NoiseLearnerOptions で shots_per_randomization 実行されます。
post_selection
タイプ: PostSelectionOptions
デフォルト値: FieldInfo(annotation=NoneType, required=False, default_factory=PostSelectionOptions)
ノイズ学習回路の結果を選択するためのオプション。
shots_per_randomization
タイプ: Annotated[int, FieldInfo(annotation
デフォルト値: NoneType, required=True, metadata=[Ge(ge=1)])] = 128
無作為化された学習回路ごとに使用するショットの総数。