fp.simulations

Module members

Monte Carlo simulations for estimating FT thresholds.

Functions

correct(code[, decoder, weight_options, ...])

Run through the qubit-level error-correction steps.

default_rng

Construct a new Generator with the default BitGenerator (PCG64).

ec_mc_trial(code_instance, noise_instance, ...)

Runs a single trial of Monte Carlo simulations of error-correction for the given code, noise model, and decoder.

ec_monte_carlo(trials, code_instance, ...[, ...])

Run Monte Carlo simulations of error-correction for the given code.

l_eval(node_or_string)

Safely evaluate an expression node or a string containing a Python expression.

perf_counter()

Performance counter for benchmarking.

run_ec_simulation(trials, code, code_args, ...)

Run full Monte Carlo error-correction simulations.

Contents