Skip to main content
IBM Quantum Platform

Calibrator

class Calibrator(mode=None, options=None)

GitHub

Bases: object

Class for calibrating a backend.

A calibrator can be initialized only inside a session. The run() method can be used to submit a calibration request for a backend.

from qiskit_ibm_runtime import QiskitRuntimeService, Session, Calibrator

service = QiskitRuntimeService()
backend = service.backend("ibm_boston")

with Session(backend=backend) as session:
    calibrator = Calibrator(session)
    calibrator.run()
Note

This feature is experimental and subject to change without notice.

Parameters


Attributes

mode

Return the execution mode used by this primitive.

Returns

Mode used by this primitive, or None if an execution mode is not used.

options

Type: CalibratorOptions

The options of this calibrator.


Methods

backend

backend()

GitHub

Return the backend to calibrate.

Return type

BackendV2

run

run()

GitHub

Calibrate the backend.

Returns

A calibration job.

Return type

RuntimeJobV2

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