FrequencyCal¶
- class FrequencyCal(qubit, calibrations, backend=None, delays=None, osc_freq=2000000.0, auto_update=True)[source]¶
A qubit frequency calibration experiment based on the Ramsey XY experiment.
Analysis Class Reference
RamseyXYAnalysis
Experiment Options
These options can be set by
set_experiment_options()
method.- Parameters:
result_index (int) – The index of the result from which to update the calibrations.
group (str) – The calibration group to which the parameter belongs. This will default to the value “default”.
Transpiler Options
This option can be set by
set_transpile_options()
method.This option is used for circuit optimization. See the documentation of
qiskit.transpile
for available options.Backend Run Options
This option can be set by
set_run_options()
method.This option is used for controlling job execution condition. Note that this option is provider dependent. See provider’s backend runner API for available options. See the documentation of
IBMQBackend.run
for the IBM Quantum Service.See also
Module(s)
RamseyXY
Initialization
- Parameters:
qubit (
int
) – The qubit on which to run the frequency calibration.calibrations (
Calibrations
) – The calibrations instance with the schedules.backend (
Optional
[Backend
]) – Optional, the backend to run the experiment on.delays (
Optional
[List
]) – The list of delays that will be scanned in the experiment, in seconds.osc_freq (
float
) – A frequency shift in Hz that will be applied by means of a virtual Z rotation to increase the frequency of the measured oscillation.auto_update (
bool
) – If set to True, which is the default, then the experiment will automatically update the frequency in the calibrations.
Attributes
Return the analysis instance for the experiment
Return the analysis options for
run()
analysis.Return the backend for the experiment
Return the calibrations.
Return the options for the experiment.
Return experiment type.
Return the number of qubits for the experiment.
Return the device qubits for the experiment.
Return options values for the experiment
run()
method.Return the transpiler options for the
run()
method.Methods
Create the circuits for the Ramsey XY characterization experiment.
Return the config dataclass for this experiment
Return a copy of the experiment
FrequencyCal.enable_restless
([rep_delay, ...])Enables a restless experiment by setting the restless run options and the restless data processor.
FrequencyCal.from_config
(config)Initialize an experiment from experiment config
FrequencyCal.run
([backend, analysis, timeout])Run an experiment, perform analysis, and update any calibrations.
FrequencyCal.set_experiment_options
(**fields)Set the experiment options.
FrequencyCal.set_run_options
(**fields)Set options values for the experiment
run()
method.FrequencyCal.set_transpile_options
(**fields)Set the transpiler options for
run()
method.FrequencyCal.update_calibrations
(experiment_data)Update the frequency using the reported frequency less the imparted oscillation.