compile

XeedQBackend.compile(circuit, gateset)

Compile a native circuit into a pulse program.

Parameters:
  • circuit (Any) – Native Qiskit circuit expressed in gateset.

  • gateset (GateSet) – Gate set the circuit is expressed in.

Return type:

Any

Returns:

The pulse program realizing the circuit.

Raises:
  • ValidationError – If the circuit’s qubit count is wrong.

  • BackendError – If a native gate maps to an unknown recipe, or emission fails, or the backend cannot run in this environment.