|View source on GitHub|
Simulate and benchmark two-qubit XEB circuits.
cirq.experiments.xeb_fitting.benchmark_2q_xeb_fidelities( sampled_df: pd.DataFrame, circuits: Sequence['cirq.Circuit'], cycle_depths: Sequence[int], param_resolver: "cirq.ParamResolverOrSimilarType" = None, pool: Optional['multiprocessing.pool.Pool'] = None ) -> pd.DataFrame
Used in the notebooks
|Used in the tutorials|
This uses the estimator from
adapted for use on pandas DataFrames for efficient vectorized operation.
sampled_df: The sampled results to benchmark. This is likely produced by a call to
The library of circuits corresponding to the sampled results in
||The sequence of cycle depths to simulate the circuits.|
||If circuits contain parameters, resolve according to this ParamResolver prior to simulation|
||If provided, execute the simulations in parallel.|
|A DataFrame with columns 'cycle_depth' and 'fidelity'.|