iqm.benchmarks.randomized_benchmarking.mirror_rb.mirror_rb

iqm.benchmarks.randomized_benchmarking.mirror_rb.mirror_rb#

Mirror Randomized Benchmarking.

Functions

compute_polarizations(num_qubits, ...)

Estimates the polarization for a list of noisy counts with respect to corresponding ideal counts The polarization here is a rescaling of the average fidelity, that corrects for few-qubit effects

edge_grab(qubit_set, n_layers, backend_arg)

Generate a list of random layers containing single-qubit Cliffords and two-qubit gates, sampled according to the edge-grab algorithm (see arXiv:2204.07568 [quant-ph]).

generate_fixed_depth_mrb_circuits(qubits, ...)

Generates a dictionary MRB circuits at fixed depth, indexed by sample number

generate_pauli_dressed_mrb_circuits(qubits, ...)

Samples a mirror circuit and generates samples of "Pauli-dressed" circuits,

list_to_numcircuit_times_numpauli_matrix(...)

Convert a flat list to a matrix of shape (num_circ_samples, num_pauli_samples).

mrb_analysis(run)

Analysis function for a MRB experiment

Classes

MirrorRBConfiguration(*, benchmark, shots, ...)

Mirror RB configuration.

MirrorRandomizedBenchmarking(backend_arg, ...)

Mirror RB estimates the fidelity of ensembles of n-qubit layers

Inheritance

Inheritance diagram of iqm.benchmarks.randomized_benchmarking.mirror_rb.mirror_rb