We're celebrating World Quantum Day 2022! Join us


Run a classical optimization to fit phased fsim parameters to experimental data, and

Used in the notebooks

Used in the tutorials

thereby characterize PhasedFSim-like gates grouped by pairs.

This is appropriate if you have run parallel XEB on multiple pairs of qubits.

The optimization is done per-pair. If you have the same pair in e.g. two different layers the characterization optimization will lump the data together. This is in contrast with the benchmarking functionality, which will always index on (layer_i, pair_i, pair).

sampled_df The DataFrame of sampled two-qubit probability distributions returned from sample_2q_xeb_circuits.
parameterized_circuits The circuits corresponding to those sampled in sampled_df, but with some gates parameterized, likely by using parameterize_circuit.
cycle_depths The depths at which circuits were truncated.
options A set of options that controls the classical optimization loop for characterizing the parameterized gates.
initial_simplex_step_size Set the size of the initial simplex for Nelder-Mead.
xatol The xatol argument for Nelder-Mead. This is the absolute error for convergence in the parameters.
fatol The fatol argument for Nelder-Mead. This is the absolute error for convergence in the function evaluation.
pool An optional multiprocessing pool to execute pair optimization in parallel. Each optimization (and the simulations therein) runs serially.