API Reference
Gate sets, the gate compiler, the pulse compiler, addons and exceptions are the parts of the public surface you use directly; the Low-level API section at the end collects the abstractions and building blocks they are built from.
Gate sets
Star-topology gate set with single-qubit |
|
Star-topology gate set with |
|
Star-topology gate set with single-qubit |
|
Star-topology gate set with single-qubit |
Gate level compiling
Compile Qiskit circuits into a gate set's native representation. |
|
Configuration for the adaptive decomposition strategy. |
|
Configuration for the tree-search strategy. |
|
Error-aware search that grows one layer at a time, over a tree search. |
|
Error-aware search that grows one full topology sweep per level. |
|
Configuration for the Qiskit-transpiler compilation strategy. |
|
The three errors of a compiled circuit. |
|
Plot the error curves an error-aware compile recorded, against the layer count. |
Pulse level compiling
Compile native circuits to pulses for a specific gate set, using a bound pulse backend. |
|
Lower a gate set's native gates to pulses on a central-spin device model. |
|
Lower star-topology circuits to pulse programs, targeting real XeedQ hardware. |
|
Write a compiled circuit in the gate names of the XeedQ toolchain. |
|
Read a circuit written in the gate names of the XeedQ toolchain. |
Addons
Qiskit
Represent a controlled rotation gate about an axis in the XY plane. |
|
Represent a controlled rotation gate about the X axis. |
|
Represent the fixed, parameterless controlled X rotation at \(\theta = \pi/2\). |
|
Represent a controlled rotation gate about the Y axis. |
|
Return a copy of |
|
Split the trailing readout requests off |
Simphony
Add a default microwave pulse to a model. |
|
Add a default radio-frequency pulse to a model. |
|
Add a virtual Z rotation to a model. |
|
Add a default XY8 pulse sequence. |
|
Add a default DDRF pulse sequence. |
|
Add a dynamical-decoupling (DD) controlled nuclear gate. |
Exceptions
Base class for errors raised by QUASAR. |
|
Raised when a configuration object or value is invalid. |
|
Raised when an underlying compute backend (quasarcpp/simphony) fails. |
|
Raised when synthesis ran to completion without reaching |
|
Raised when the compiled backend has no valid licence to run. |
|
Raised when an argument doesn't satisfy a precondition. |
|
Warn that an error-aware search returned a circuit depth bought nothing for. |
|
Warn that a circuit's pulses realize a relabeled version of the circuit. |
Low-level API
Gate-set abstractions
Topology axis: a gate set defined on a star topology. |
|
Construction axis: one single-qubit basis plus one entangler per placement. |
|
Represent a native gate set and its native-circuit metadata. |
|
Represent a concrete native gate instance. |
|
Describe a native gate family. |
Base configs
Represent the options shared by every gate-level compilation strategy. |
|
Represent the parameters every |
Pulse building blocks
Base class every pulse backend must inherit. |
|
Structural capability: a pulse backend that can estimate its own fidelity. |
|
Register |
|
Every physical number a pulse backend reads, for one device and gate set. |
|
One resonant drive: its transition frequency and how it is driven. |
|
How hard and how long one resonant drive is driven. |
|
What the instrument itself contributes to a pulse. |
|
One nuclear spin, as the electron-conditioned drives see it. |