iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.validate_irb_gate

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.validate_irb_gate#

iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.validate_irb_gate(gate_id: str, backend_arg: str | IQMBackendBase, gate_params: List[float] | None = None) IQMCircuit#

Validate that an input gate is Clifford and transpiled to IQM’s native basis

Parameters:
  • gate_id (str) – the gate identifier as a Qiskit circuit library operator

  • backend_arg (IQMBackendBase) – the IQM backend to verify transpilation

  • gate_params (Optional[List[float]]) – the gate parameters

Returns:

Transpiled circuit

Return type:

IQMCircuit