XeedQBackend

class XeedQBackend(parameters)

Lower star-topology circuits to pulse programs, targeting real XeedQ hardware.

Takes already-resolved parameters. See from_cloud_backend() to read them off a live device instead, which is how a real setup is described. Defines no benchmark_* methods; PulseCompiler raises BackendError on its Benchmarkable check.

Realizes the native gates rz, sx and crotxpi2.

Parameters:

parameters (PulseParameters) – Frequencies, amplitudes and durations measured on the device.

Variables:

setup_data – The calibration the parameters were read from, as the device reported it, when built by from_cloud_backend(); None otherwise. Store it next to results to know which calibration a program used.

Raises:
  • ValidationError – If the parameters are internally inconsistent.

  • ConfigError – If the parameters ask for another number of decoupling pulses.

  • BackendError – If the backend cannot run in this environment.

Attributes

n_qubits

Number of qubits the bound parameters describe.

parameters

Physical parameters the backend reads for this device.

Methods

from_cloud_backend(cloud_backend)

Build a backend from a live device's calibration.

Low-level API methods

compile(circuit, gateset)

Compile a native circuit into a pulse program.

pulse_template(gate, gateset)

Return the pulse template realizing a native gate.

pulse_templates_in(circuit, gateset)

Return the pulse templates a circuit actually uses.

qubit_kinds(gate, gateset)

Return the kind of spin at each of a gate's qubits.