append_pulses

SimphonyBackend.append_pulses(circuit, gateset, model, parameters)

Append the pulses of a native circuit to a model without clearing it.

model and parameters are arguments, so the pulses can go onto a model other than the bound model.

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

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

  • model (Any) – Simphony model the pulses are appended to.

  • parameters (PulseParameters) – Physical parameters the backend reads.

Return type:

Any

Returns:

The model, with the circuit’s pulses appended.

Raises:

BackendError – If a native gate maps to an unknown pulse recipe, or the simphony pulse construction itself fails.