iqm.benchmarks.randomized_benchmarking.mirror_rb.mirror_rb.generate_fixed_depth_mrb_circuits#
- iqm.benchmarks.randomized_benchmarking.mirror_rb.mirror_rb.generate_fixed_depth_mrb_circuits(qubits: List[int], circ_samples: int, pauli_samples_per_circ: int, depth: int, backend_arg: IQMBackendBase | str, density_2q_gates: float = 0.25, two_qubit_gate_ensemble: Dict[str, float] | None = None, qiskit_optim_level: int = 1, routing_method: str = 'basic') Dict[int, Dict[str, List[IQMCircuit]]] #
Generates a dictionary MRB circuits at fixed depth, indexed by sample number
- Parameters:
qubits (List[int]) – A list of integers specifying physical qubit labels
circ_samples (int) – The number of sets of Pauli-dressed circuit samples
pauli_samples_per_circ (int) – the number of pauli samples per circuit
depth (int) – the depth (number of canonical layers) of the circuits
backend_arg (IQMBackendBase | str) – the backend
density_2q_gates (float) –
qiskit_optim_level (int) –
routing_method (str) –
- Returns:
A dictionary of lists of Pauli-dressed quantum circuits corresponding to the circuit sample index
- Return type: