tqec.simulation#

Defines several helper methods to facilitate QEC circuit simulation.

Functions

heuristic_custom_error_key(observables)

Get a heuristic custom error key using for the error metric in sinter.

plot_observable_as_inset(ax_target, ...[, ...])

Plot the provided observable as an inset in the provided ax.

split_stats_for_observables(stats, ...)

Split the statistics for each individual observable when specifying count_observable_error_combos=True for sinter.

start_simulation_using_sinter(block_graph, ...)

Helper to run stim simulations using sinter.