What is Quil?
Calibrations are a description of how a high-level Quil (or Quil-T) program should be transpiled into a series of analog pulse instructions. In particular, the calibrations that are provided by Rigetti are derived by a careful process of tuning various parameters to maximize the execution quality for the target QPU.
Within QCS, all Quil programs (even those not using Quil-T syntax) are transpiled to a Quil-T pulse program as a step in the assembly process. When you compile your Quil program for execution on a QPU, the most current calibrations available for the QPU will be used to calibrate your program. You can override these calibrations by supplying calibrations explicitly within your program in the form of
DEFCALblocks. This support for user-calibrated programs gives you more precise control over how your programs are executed on our QPUs.
Frame definitions (
DEFFRAMEblocks) may not be modified within programs, but must be included verbatim as provided in the Rigetti calibrations.
qcs api get-quilt-calibrations Aspen-11
from pyquil import get_qc
qc = get_qc("Aspen-11")