iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.generate_all_rb_circuits#
- iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.generate_all_rb_circuits(qubits: List[int], sequence_lengths: List[int], clifford_dict: Dict[str, IQMCircuit], num_circuit_samples: int, backend_arg: str | IQMBackendBase, interleaved_gate: IQMCircuit | None) Tuple[Dict[int, List[IQMCircuit]], Dict[int, List[IQMCircuit]]] #
- Parameters:
qubits (List[int]) – List of qubits
sequence_lengths (List[int]) – List of sequence lengths
clifford_dict (Dict[str, QuantumCircuit]) – the dictionary of Clifford circuits
num_circuit_samples (int) – the number of circuits samples
backend_arg (str | IQMBackendBase) – the backend fir which to generate the circuits.
interleaved_gate (str) – the name of the interleaved gate
- Returns:
Tuple of untranspiled and transpiled circuits for all class-defined sequence lengths
- Return type:
Tuple[Dict[int, List[IQMCircuit]], Dict[int, List[IQMCircuit]]]