![]() |
Tools for converting Calibrations to NoiseProperties.
Given a Calibration "cal", a user can simulate noise approximating that calibration using the following pipeline:
noise_props = cg.noise_properties_from_calibration(cal)
noise_model = cg.NoiseModelFromGoogleNoiseProperties(noise_props)
simulator = cirq.Simulator(noise=noise_model)
result = simulator.simulate(circuit)
# 'result' contains the simulation results
Functions
noise_properties_from_calibration(...)
: Translates between cirq_google.Calibration
and NoiseProperties.