benchmark_gate
- PulseCompiler.benchmark_gate(gate, **kwargs)
Benchmark the pulse implementation of a single native gate.
- Parameters:
- Return type:
- Returns:
Average gate fidelity of the simulated pulse against the ideal gate.
- Raises:
BackendError – If
backendcannot self-benchmark (e.g. it describes real hardware, with no simulator to compare against).