benchmark_circuit

PulseCompiler.benchmark_circuit(circuit, **kwargs)

Benchmark the pulse implementation of a whole native circuit.

Parameters:
  • circuit (Any) – Native Qiskit circuit expressed in the gate set.

  • **kwargs (Any) – Extra options forwarded to the backend’s circuit benchmark.

Return type:

float

Returns:

Average gate fidelity of the simulated pulse sequence against the ideal

circuit.

Raises:

BackendError – If backend cannot self-benchmark.