cirq_google.experimental.simple_noise_from_calibration_metrics
Creates a reasonable PerQubitDepolarizingWithDampedReadoutNoiseModel using the provided calibration data.
cirq_google.experimental.simple_noise_from_calibration_metrics(
calibration: 'calibration.Calibration',
depol_noise: bool = False,
damping_noise: bool = False,
readout_decay_noise: bool = False,
readout_error_noise: bool = False
) -> cirq.NoiseModel
Args |
calibration
|
a Calibration object (cirq/google/engine/calibration.py).
This object can be retrieved from the engine by calling
'get_latest_calibration()' or 'get_calibration()' using the ID of
the target processor.
|
depol_noise
|
Enables per-gate depolarization if True.
|
damping_noise
|
Enables per-gate amplitude damping if True.
Currently unimplemented.
|
readout_decay_noise
|
Enables pre-readout amplitude damping if True.
|
readout_error_noise
|
Enables pre-readout bitflip errors if True.
|
Returns |
A PerQubitDepolarizingWithDampedReadoutNoiseModel with error
probabilities generated from the provided calibration data.
|
Raises |
NotImplementedError
|
If damping_noise is True, as this is not yet
supported.
|
ValueError
|
If none of the noises is set to True.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-27 UTC."],[],[]]