iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common#
Common functions for Randomized Benchmarking-based techniques.
Functions
|
Function to compute the inverse Clifford of a circuit. |
|
Generate a list of random layers containing single-qubit Cliffords and two-qubit gates. |
|
Compute a result's probability of being on the ground state. |
|
Fit function for interleaved/non-interleaved RB. |
|
Perform a fitting routine for 0th-order (Ap^m+B) RB using lmfit. |
|
Generate all RB circuits, before and after transpilation, for all class-defined sequence lengths. |
Generates parallel RB circuits, before and after transpilation, at fixed depth. |
|
|
Generate random Clifford circuits in native gates for a given sequence length. |
|
Compute a result's probability of being on the ground state. |
|
Import native gate Clifford dictionaries. |
|
Perform minimization using lmfit. |
|
Plot the fidelity decay and the fit to the model. |
|
Helper function to relabel an array of qubits to an increasingly ordered one starting from zero. |
|
Submit fixed-depth parallel MRB jobs for execution in the specified IQMBackend. |
|
Submit sequential RB jobs for execution in the specified IQMBackend. |
|
Estimates marginalized survival probabilities from a parallel RB execution (at fixed depth). |
|
Validate that an input gate is Clifford and transpiled to IQM's native basis. |
|
Validate qubit inputs for a Clifford RB experiment. |