Skip to main content
IBM Quantum Platform

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>)

GitHub

Bases: object

Options for NoiseLearnerV3.


Attributes

Parameters

  • 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

Type: EnvironmentOptions

Default value: FieldInfo(annotation=NoneType, required=False, default_factory=EnvironmentOptions)

Options related to the execution environment.

execution

Type: ExecutionOptions

Default value: FieldInfo(annotation=NoneType, required=False, default_factory=ExecutionOptions)

Low-level execution options.

experimental

Type: dict

Default value: FieldInfo(annotation=NoneType, required=False, default_factory=dict)

Experimental options.

These options are subject to change without notification, and stability is not guaranteed.

layer_pair_depths

Type: list[Annotated[int, FieldInfo(annotation

Default value: NoneType, required=True, metadata=[Ge(ge=0)])]] = (0, 1, 2, 4, 16, 32)

The circuit depths (measured in number of pairs) to use in Pauli Lindblad experiments.

Pairs are used as the unit because we exploit the order-2 nature of our entangling gates in the noise learning implementation. For example, a value of 3 corresponds to 6 repetitions of the layer of interest.

Note

This field is ignored by TREX experiments.

num_randomizations

Type: Annotated[int, FieldInfo(annotation

Default value: NoneType, required=True, metadata=[Ge(ge=1)])] = 32

The number of random circuits to use per learning circuit configuration.

For TREX experiments, a configuration is a measurement basis.

For Pauli Lindblad experiments, a configuration is a measurement basis and depth setting. For example, if your experiment has six depths, then setting this value to 32 will result in a total of 32 * 9 * 6 circuits that need to be executed (where 9 is the number of circuits that need to be implemented to measure all the required observables, see the note in the docstring for NoiseLearnerOptions for mode details), at shots_per_randomization each.

post_selection

Type: PostSelectionOptions

Default value: FieldInfo(annotation=NoneType, required=False, default_factory=PostSelectionOptions)

Options for post selecting the results of noise learning circuits.

shots_per_randomization

Type: Annotated[int, FieldInfo(annotation

Default value: NoneType, required=True, metadata=[Ge(ge=1)])] = 128

The total number of shots to use per randomized learning circuit.


Methods

Was this page helpful?
Report a bug, typo, or request content on GitHub.