benchmark_circuit

SimphonyBackend.benchmark_circuit(circuit, gateset, verbose=False)

Benchmark the pulse implementation of a whole native circuit.

Simulates the circuit’s whole pulse sequence rather than its gates one at a time, so what it reports includes what the gates do to each other – crosstalk onto spectator spins, and phase accumulated between pulses.

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

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

  • verbose (bool) – Whether the simulation prints its progress.

Return type:

float

Returns:

Average gate fidelity of the simulated pulse sequence against the ideal

circuit, from 0 to 1.