gitextract_cojjamez/ ├── .bazelrc ├── .bazelversion ├── .clang-format ├── .editorconfig ├── .github/ │ ├── SECURITY.md │ └── workflows/ │ └── ci.yml ├── .gitignore ├── .markdownlintrc ├── BUILD ├── CITATION.cff ├── CMakeLists.txt ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── MANIFEST.in ├── MODULE.bazel ├── README.md ├── SUPPORT.md ├── WORKSPACE ├── dev/ │ ├── canvas_with_texture_for_3d_diagrams.html │ ├── clean_build_files.sh │ ├── compile_crumble_into_cpp_string_file.sh │ ├── compile_crumble_into_single_html_page.sh │ ├── doctest_proper.py │ ├── gen_known_gates_for_js.sh │ ├── gen_sinter_api_reference.py │ ├── gen_stim_api_reference.py │ ├── gen_stim_stub_file.py │ ├── make_logo.html │ ├── overwrite_dev_versions_with_date.py │ ├── regen_crumble_cpp_resource.sh │ ├── regen_docs.sh │ ├── regen_file_lists.sh │ ├── regen_texture_to_cpp_base64_string.sh │ └── util_gen_stub_file.py ├── doc/ │ ├── circuit_data_references.md │ ├── developer_documentation.md │ ├── file_format_dem_detector_error_model.md │ ├── file_format_stim_circuit.md │ ├── gates.md │ ├── getting_started.ipynb │ ├── python_api_reference_vDev.md │ ├── result_formats.md │ ├── sinter_api.md │ ├── sinter_command_line.md │ ├── stim.pyi │ └── usage_command_line.md ├── file_lists/ │ ├── perf_files │ ├── pybind_files │ ├── source_files_no_main │ └── test_files ├── glue/ │ ├── cirq/ │ │ ├── README.md │ │ ├── setup.py │ │ └── stimcirq/ │ │ ├── __init__.py │ │ ├── _cirq_to_stim.py │ │ ├── _cirq_to_stim_test.py │ │ ├── _cx_swap_gate.py │ │ ├── _cx_swap_test.py │ │ ├── _cz_swap_gate.py │ │ ├── _cz_swap_test.py │ │ ├── _det_annotation.py │ │ ├── _det_annotation_test.py │ │ ├── _i_error_gate.py │ │ ├── _i_error_gate_test.py │ │ ├── _ii_error_gate.py │ │ ├── _ii_error_gate_test.py │ │ ├── _ii_gate.py │ │ ├── _ii_gate_test.py │ │ ├── _measure_and_or_reset_gate.py │ │ ├── _measure_and_or_reset_gate_test.py │ │ ├── _obs_annotation.py │ │ ├── _obs_annotation_test.py │ │ ├── _shift_coords_annotation.py │ │ ├── _shift_coords_annotation_test.py │ │ ├── _stim_sampler.py │ │ ├── _stim_sampler_test.py │ │ ├── _stim_to_cirq.py │ │ ├── _stim_to_cirq_test.py │ │ ├── _sweep_pauli.py │ │ ├── _sweep_pauli_test.py │ │ ├── _two_qubit_asymmetric_depolarize.py │ │ └── _two_qubit_asymmetric_depolarize_test.py │ ├── crumble/ │ │ ├── README.md │ │ ├── base/ │ │ │ ├── cooldown_throttle.js │ │ │ ├── describe.js │ │ │ ├── describe.test.js │ │ │ ├── equate.js │ │ │ ├── equate.test.js │ │ │ ├── history_pusher.js │ │ │ ├── obs.js │ │ │ ├── obs.test.js │ │ │ ├── revision.js │ │ │ ├── revision.test.js │ │ │ ├── seq.js │ │ │ └── seq.test.js │ │ ├── circuit/ │ │ │ ├── circuit.js │ │ │ ├── circuit.test.js │ │ │ ├── layer.js │ │ │ ├── layer.test.js │ │ │ ├── operation.js │ │ │ ├── pauli_frame.js │ │ │ ├── pauli_frame.test.js │ │ │ ├── propagated_pauli_frames.js │ │ │ └── propagated_pauli_frames.test.js │ │ ├── crumble.html │ │ ├── draw/ │ │ │ ├── config.js │ │ │ ├── draw_util.js │ │ │ ├── main_draw.js │ │ │ ├── main_draw.test.js │ │ │ ├── state_snapshot.js │ │ │ └── timeline_viewer.js │ │ ├── editor/ │ │ │ ├── editor_state.js │ │ │ ├── editor_state.test.js │ │ │ └── sync_url_to_state.js │ │ ├── gates/ │ │ │ ├── gate.js │ │ │ ├── gate_draw_util.js │ │ │ ├── gateset.js │ │ │ ├── gateset.test.js │ │ │ ├── gateset_controlled_paulis.js │ │ │ ├── gateset_demolition_measurements.js │ │ │ ├── gateset_hadamard_likes.js │ │ │ ├── gateset_markers.js │ │ │ ├── gateset_mpp.js │ │ │ ├── gateset_pair_measurements.js │ │ │ ├── gateset_paulis.js │ │ │ ├── gateset_quarter_turns.js │ │ │ ├── gateset_resets.js │ │ │ ├── gateset_solo_measurements.js │ │ │ ├── gateset_sqrt_pauli_pairs.js │ │ │ ├── gateset_swaps.js │ │ │ └── gateset_third_turns.js │ │ ├── keyboard/ │ │ │ ├── chord.js │ │ │ ├── chord.test.js │ │ │ └── toolbox.js │ │ ├── main.js │ │ ├── package.json │ │ ├── run_tests_headless.js │ │ └── test/ │ │ ├── generated_gate_name_list.test.js │ │ ├── test.html │ │ ├── test_import_all.js │ │ ├── test_main.js │ │ ├── test_util.js │ │ └── test_util.test.js │ ├── javascript/ │ │ ├── README.md │ │ ├── build_wasm.sh │ │ ├── circuit.js.cc │ │ ├── circuit.js.h │ │ ├── circuit.test.js │ │ ├── common.js.cc │ │ ├── common.js.h │ │ ├── pauli_string.js.cc │ │ ├── pauli_string.js.h │ │ ├── pauli_string.test.js │ │ ├── stim.js.cc │ │ ├── stim.test_harness.js │ │ ├── tableau.js.cc │ │ ├── tableau.js.h │ │ ├── tableau.test.js │ │ ├── tableau_simulator.js.cc │ │ ├── tableau_simulator.js.h │ │ └── tableau_simulator.test.js │ ├── lattice_surgery/ │ │ ├── README.md │ │ ├── docs/ │ │ │ └── demo.ipynb │ │ ├── lassynth/ │ │ │ ├── __init__.py │ │ │ ├── lattice_surgery_synthesis.py │ │ │ ├── rewrite_passes/ │ │ │ │ ├── __init__.py │ │ │ │ ├── attach_fixups.py │ │ │ │ ├── color_z.py │ │ │ │ └── remove_unconnected.py │ │ │ ├── sat_synthesis/ │ │ │ │ ├── __init__.py │ │ │ │ └── lattice_surgery_sat.py │ │ │ ├── tools/ │ │ │ │ ├── __init__.py │ │ │ │ └── verify_stabilizers.py │ │ │ └── translators/ │ │ │ ├── __init__.py │ │ │ ├── gltf_generator.py │ │ │ ├── networkx_generator.py │ │ │ ├── textfig_generator.py │ │ │ └── zx_grid_graph.py │ │ ├── setup.py │ │ └── stimzx/ │ │ ├── __init__.py │ │ ├── _external_stabilizer.py │ │ ├── _external_stabilizer_test.py │ │ ├── _text_diagram_parsing.py │ │ ├── _text_diagram_parsing_test.py │ │ ├── _zx_graph_solver.py │ │ └── _zx_graph_solver_test.py │ ├── python/ │ │ ├── README.md │ │ └── src/ │ │ └── stim/ │ │ ├── __init__.py │ │ ├── __init__.pyi │ │ └── _main_argv.py │ ├── sample/ │ │ ├── MANIFEST.in │ │ ├── README.md │ │ ├── requirements.txt │ │ ├── setup.py │ │ └── src/ │ │ └── sinter/ │ │ ├── __init__.py │ │ ├── _collection/ │ │ │ ├── __init__.py │ │ │ ├── _collection.py │ │ │ ├── _collection_manager.py │ │ │ ├── _collection_manager_test.py │ │ │ ├── _collection_test.py │ │ │ ├── _collection_worker_loop.py │ │ │ ├── _collection_worker_state.py │ │ │ ├── _collection_worker_test.py │ │ │ ├── _mux_sampler.py │ │ │ ├── _printer.py │ │ │ ├── _sampler_ramp_throttled.py │ │ │ └── _sampler_ramp_throttled_test.py │ │ ├── _command/ │ │ │ ├── __init__.py │ │ │ ├── _main.py │ │ │ ├── _main_collect.py │ │ │ ├── _main_collect_test.py │ │ │ ├── _main_combine.py │ │ │ ├── _main_combine_test.py │ │ │ ├── _main_plot.py │ │ │ ├── _main_plot_test.py │ │ │ ├── _main_predict.py │ │ │ └── _main_predict_test.py │ │ ├── _data/ │ │ │ ├── __init__.py │ │ │ ├── _anon_task_stats.py │ │ │ ├── _anon_task_stats_test.py │ │ │ ├── _collection_options.py │ │ │ ├── _collection_options_test.py │ │ │ ├── _csv_out.py │ │ │ ├── _existing_data.py │ │ │ ├── _existing_data_test.py │ │ │ ├── _task.py │ │ │ ├── _task_stats.py │ │ │ ├── _task_stats_test.py │ │ │ └── _task_test.py │ │ ├── _decoding/ │ │ │ ├── __init__.py │ │ │ ├── _decoding.py │ │ │ ├── _decoding_all_built_in_decoders.py │ │ │ ├── _decoding_decoder_class.py │ │ │ ├── _decoding_fusion_blossom.py │ │ │ ├── _decoding_mwpf.py │ │ │ ├── _decoding_pymatching.py │ │ │ ├── _decoding_test.py │ │ │ ├── _decoding_vacuous.py │ │ │ ├── _perfectionist_sampler.py │ │ │ ├── _sampler.py │ │ │ ├── _stim_then_decode_sampler.py │ │ │ └── _stim_then_decode_sampler_test.py │ │ ├── _plotting.py │ │ ├── _plotting_test.py │ │ ├── _predict.py │ │ ├── _predict_test.py │ │ ├── _probability_util.py │ │ └── _probability_util_test.py │ └── zx/ │ ├── README.md │ ├── setup.py │ └── stimzx/ │ ├── __init__.py │ ├── _external_stabilizer.py │ ├── _external_stabilizer_test.py │ ├── _text_diagram_parsing.py │ ├── _text_diagram_parsing_test.py │ ├── _zx_graph_solver.py │ └── _zx_graph_solver_test.py ├── package.json ├── puppeteer_run_tests.js ├── pyproject.toml ├── setup.py ├── src/ │ ├── main.cc │ ├── stim/ │ │ ├── circuit/ │ │ │ ├── circuit.cc │ │ │ ├── circuit.h │ │ │ ├── circuit.perf.cc │ │ │ ├── circuit.pybind.cc │ │ │ ├── circuit.pybind.h │ │ │ ├── circuit.test.cc │ │ │ ├── circuit.test.h │ │ │ ├── circuit2.pybind.cc │ │ │ ├── circuit_instruction.cc │ │ │ ├── circuit_instruction.h │ │ │ ├── circuit_instruction.pybind.cc │ │ │ ├── circuit_instruction.pybind.h │ │ │ ├── circuit_instruction.test.cc │ │ │ ├── circuit_instruction_pybind_test.py │ │ │ ├── circuit_pybind_test.py │ │ │ ├── circuit_repeat_block.pybind.cc │ │ │ ├── circuit_repeat_block.pybind.h │ │ │ ├── circuit_repeat_block_test.py │ │ │ ├── gate_decomposition.cc │ │ │ ├── gate_decomposition.h │ │ │ ├── gate_decomposition.test.cc │ │ │ ├── gate_target.cc │ │ │ ├── gate_target.h │ │ │ ├── gate_target.pybind.cc │ │ │ ├── gate_target.pybind.h │ │ │ ├── gate_target.test.cc │ │ │ └── gate_target_pybind_test.py │ │ ├── cmd/ │ │ │ ├── command_analyze_errors.cc │ │ │ ├── command_analyze_errors.h │ │ │ ├── command_analyze_errors.test.cc │ │ │ ├── command_convert.cc │ │ │ ├── command_convert.h │ │ │ ├── command_convert.test.cc │ │ │ ├── command_detect.cc │ │ │ ├── command_detect.h │ │ │ ├── command_detect.test.cc │ │ │ ├── command_diagram.cc │ │ │ ├── command_diagram.h │ │ │ ├── command_diagram.pybind.cc │ │ │ ├── command_diagram.pybind.h │ │ │ ├── command_diagram.test.cc │ │ │ ├── command_explain_errors.cc │ │ │ ├── command_explain_errors.h │ │ │ ├── command_explain_errors.test.cc │ │ │ ├── command_gen.cc │ │ │ ├── command_gen.h │ │ │ ├── command_gen.test.cc │ │ │ ├── command_help.cc │ │ │ ├── command_help.h │ │ │ ├── command_m2d.cc │ │ │ ├── command_m2d.h │ │ │ ├── command_m2d.test.cc │ │ │ ├── command_repl.cc │ │ │ ├── command_repl.h │ │ │ ├── command_sample.cc │ │ │ ├── command_sample.h │ │ │ ├── command_sample.test.cc │ │ │ ├── command_sample_dem.cc │ │ │ ├── command_sample_dem.h │ │ │ └── command_sample_dem.test.cc │ │ ├── dem/ │ │ │ ├── dem_instruction.cc │ │ │ ├── dem_instruction.h │ │ │ ├── dem_instruction.pybind.cc │ │ │ ├── dem_instruction.pybind.h │ │ │ ├── dem_instruction.test.cc │ │ │ ├── dem_instruction_pybind_test.py │ │ │ ├── detector_error_model.cc │ │ │ ├── detector_error_model.h │ │ │ ├── detector_error_model.pybind.cc │ │ │ ├── detector_error_model.pybind.h │ │ │ ├── detector_error_model.test.cc │ │ │ ├── detector_error_model_pybind_test.py │ │ │ ├── detector_error_model_repeat_block.pybind.cc │ │ │ ├── detector_error_model_repeat_block.pybind.h │ │ │ ├── detector_error_model_repeat_block_pybind_test.py │ │ │ ├── detector_error_model_target.pybind.cc │ │ │ ├── detector_error_model_target.pybind.h │ │ │ └── detector_error_model_target_pybind_test.py │ │ ├── diagram/ │ │ │ ├── ascii_diagram.cc │ │ │ ├── ascii_diagram.h │ │ │ ├── ascii_diagram.test.cc │ │ │ ├── base64.cc │ │ │ ├── base64.h │ │ │ ├── base64.test.cc │ │ │ ├── basic_3d_diagram.cc │ │ │ ├── basic_3d_diagram.h │ │ │ ├── circuit_timeline_helper.cc │ │ │ ├── circuit_timeline_helper.h │ │ │ ├── coord.h │ │ │ ├── coord.test.cc │ │ │ ├── crumble.cc │ │ │ ├── crumble.h │ │ │ ├── crumble_data.cc │ │ │ ├── crumble_data.h │ │ │ ├── detector_slice/ │ │ │ │ ├── detector_slice_set.cc │ │ │ │ ├── detector_slice_set.h │ │ │ │ └── detector_slice_set.test.cc │ │ │ ├── diagram_util.cc │ │ │ ├── diagram_util.h │ │ │ ├── gate_data_3d.cc │ │ │ ├── gate_data_3d.h │ │ │ ├── gate_data_3d_texture_data.cc │ │ │ ├── gate_data_3d_texture_data.h │ │ │ ├── gate_data_svg.cc │ │ │ ├── gate_data_svg.h │ │ │ ├── gltf.cc │ │ │ ├── gltf.h │ │ │ ├── graph/ │ │ │ │ ├── match_graph_3d_drawer.cc │ │ │ │ ├── match_graph_3d_drawer.h │ │ │ │ ├── match_graph_3d_drawer.test.cc │ │ │ │ ├── match_graph_svg_drawer.cc │ │ │ │ ├── match_graph_svg_drawer.h │ │ │ │ └── match_graph_svg_drawer.test.cc │ │ │ ├── json_obj.cc │ │ │ ├── json_obj.h │ │ │ ├── json_obj.test.cc │ │ │ ├── lattice_map.cc │ │ │ ├── lattice_map.h │ │ │ └── timeline/ │ │ │ ├── timeline_3d_drawer.cc │ │ │ ├── timeline_3d_drawer.h │ │ │ ├── timeline_3d_drawer.test.cc │ │ │ ├── timeline_ascii_drawer.cc │ │ │ ├── timeline_ascii_drawer.h │ │ │ ├── timeline_ascii_drawer.test.cc │ │ │ ├── timeline_svg_drawer.cc │ │ │ ├── timeline_svg_drawer.h │ │ │ └── timeline_svg_drawer.test.cc │ │ ├── gates/ │ │ │ ├── gate_data_annotations.cc │ │ │ ├── gate_data_blocks.cc │ │ │ ├── gate_data_collapsing.cc │ │ │ ├── gate_data_controlled.cc │ │ │ ├── gate_data_hada.cc │ │ │ ├── gate_data_heralded.cc │ │ │ ├── gate_data_noisy.cc │ │ │ ├── gate_data_pair_measure.cc │ │ │ ├── gate_data_pauli.cc │ │ │ ├── gate_data_pauli_product.cc │ │ │ ├── gate_data_period_3.cc │ │ │ ├── gate_data_period_4.cc │ │ │ ├── gate_data_pp.cc │ │ │ ├── gate_data_swaps.cc │ │ │ ├── gates.cc │ │ │ ├── gates.h │ │ │ ├── gates.perf.cc │ │ │ ├── gates.pybind.cc │ │ │ ├── gates.pybind.h │ │ │ ├── gates.test.cc │ │ │ └── gates_test.py │ │ ├── gen/ │ │ │ ├── circuit_gen_params.cc │ │ │ ├── circuit_gen_params.h │ │ │ ├── circuit_gen_params.test.cc │ │ │ ├── gen_color_code.cc │ │ │ ├── gen_color_code.h │ │ │ ├── gen_color_code.test.cc │ │ │ ├── gen_rep_code.cc │ │ │ ├── gen_rep_code.h │ │ │ ├── gen_rep_code.test.cc │ │ │ ├── gen_surface_code.cc │ │ │ ├── gen_surface_code.h │ │ │ └── gen_surface_code.test.cc │ │ ├── io/ │ │ │ ├── README.md │ │ │ ├── measure_record.cc │ │ │ ├── measure_record.h │ │ │ ├── measure_record.test.cc │ │ │ ├── measure_record_batch.h │ │ │ ├── measure_record_batch.inl │ │ │ ├── measure_record_batch.test.cc │ │ │ ├── measure_record_batch_writer.cc │ │ │ ├── measure_record_batch_writer.h │ │ │ ├── measure_record_batch_writer.test.cc │ │ │ ├── measure_record_reader.h │ │ │ ├── measure_record_reader.inl │ │ │ ├── measure_record_reader.perf.cc │ │ │ ├── measure_record_reader.test.cc │ │ │ ├── measure_record_writer.cc │ │ │ ├── measure_record_writer.h │ │ │ ├── measure_record_writer.test.cc │ │ │ ├── raii_file.cc │ │ │ ├── raii_file.h │ │ │ ├── read_write.pybind.cc │ │ │ ├── read_write.pybind.h │ │ │ ├── read_write_pytest.py │ │ │ ├── sparse_shot.cc │ │ │ ├── sparse_shot.h │ │ │ ├── sparse_shot.test.cc │ │ │ ├── stim_data_formats.cc │ │ │ └── stim_data_formats.h │ │ ├── main.perf.cc │ │ ├── main_namespaced.cc │ │ ├── main_namespaced.h │ │ ├── main_namespaced.perf.cc │ │ ├── main_namespaced.test.cc │ │ ├── main_namespaced.test.h │ │ ├── mem/ │ │ │ ├── README.md │ │ │ ├── bit_ref.cc │ │ │ ├── bit_ref.h │ │ │ ├── bit_ref.test.cc │ │ │ ├── bitword.h │ │ │ ├── bitword_128_sse.h │ │ │ ├── bitword_256_avx.h │ │ │ ├── bitword_64.h │ │ │ ├── fixed_cap_vector.h │ │ │ ├── fixed_cap_vector.test.cc │ │ │ ├── monotonic_buffer.h │ │ │ ├── monotonic_buffer.test.cc │ │ │ ├── simd_bit_table.h │ │ │ ├── simd_bit_table.inl │ │ │ ├── simd_bit_table.perf.cc │ │ │ ├── simd_bit_table.test.cc │ │ │ ├── simd_bits.h │ │ │ ├── simd_bits.inl │ │ │ ├── simd_bits.perf.cc │ │ │ ├── simd_bits.test.cc │ │ │ ├── simd_bits_range_ref.h │ │ │ ├── simd_bits_range_ref.inl │ │ │ ├── simd_bits_range_ref.test.cc │ │ │ ├── simd_util.cc │ │ │ ├── simd_util.h │ │ │ ├── simd_util.test.cc │ │ │ ├── simd_word.cc │ │ │ ├── simd_word.h │ │ │ ├── simd_word.perf.cc │ │ │ ├── simd_word.test.cc │ │ │ ├── simd_word.test.h │ │ │ ├── span_ref.h │ │ │ ├── sparse_xor_vec.cc │ │ │ ├── sparse_xor_vec.h │ │ │ ├── sparse_xor_vec.perf.cc │ │ │ └── sparse_xor_vec.test.cc │ │ ├── perf.perf.h │ │ ├── py/ │ │ │ ├── README.md │ │ │ ├── base.pybind.cc │ │ │ ├── base.pybind.h │ │ │ ├── compiled_detector_sampler.pybind.cc │ │ │ ├── compiled_detector_sampler.pybind.h │ │ │ ├── compiled_detector_sampler_pybind_test.py │ │ │ ├── compiled_measurement_sampler.pybind.cc │ │ │ ├── compiled_measurement_sampler.pybind.h │ │ │ ├── compiled_measurement_sampler_pybind_test.py │ │ │ ├── march.pybind.cc │ │ │ ├── march.pybind.h │ │ │ ├── numpy.pybind.cc │ │ │ ├── numpy.pybind.h │ │ │ ├── stim.pybind.cc │ │ │ └── stim_pybind_test.py │ │ ├── search/ │ │ │ ├── graphlike/ │ │ │ │ ├── algo.cc │ │ │ │ ├── algo.h │ │ │ │ ├── algo.perf.cc │ │ │ │ ├── algo.test.cc │ │ │ │ ├── edge.cc │ │ │ │ ├── edge.h │ │ │ │ ├── edge.test.cc │ │ │ │ ├── graph.cc │ │ │ │ ├── graph.h │ │ │ │ ├── graph.test.cc │ │ │ │ ├── node.cc │ │ │ │ ├── node.h │ │ │ │ ├── node.test.cc │ │ │ │ ├── search_state.cc │ │ │ │ ├── search_state.h │ │ │ │ └── search_state.test.cc │ │ │ ├── hyper/ │ │ │ │ ├── algo.cc │ │ │ │ ├── algo.h │ │ │ │ ├── algo.test.cc │ │ │ │ ├── edge.cc │ │ │ │ ├── edge.h │ │ │ │ ├── edge.test.cc │ │ │ │ ├── graph.cc │ │ │ │ ├── graph.h │ │ │ │ ├── graph.test.cc │ │ │ │ ├── node.cc │ │ │ │ ├── node.h │ │ │ │ ├── node.test.cc │ │ │ │ ├── search_state.cc │ │ │ │ ├── search_state.h │ │ │ │ └── search_state.test.cc │ │ │ ├── sat/ │ │ │ │ ├── wcnf.cc │ │ │ │ ├── wcnf.h │ │ │ │ └── wcnf.test.cc │ │ │ └── search.h │ │ ├── simulators/ │ │ │ ├── README.md │ │ │ ├── dem_sampler.h │ │ │ ├── dem_sampler.inl │ │ │ ├── dem_sampler.perf.cc │ │ │ ├── dem_sampler.pybind.cc │ │ │ ├── dem_sampler.pybind.h │ │ │ ├── dem_sampler.test.cc │ │ │ ├── dem_sampler_pybind_test.py │ │ │ ├── error_analyzer.cc │ │ │ ├── error_analyzer.h │ │ │ ├── error_analyzer.perf.cc │ │ │ ├── error_analyzer.test.cc │ │ │ ├── error_matcher.cc │ │ │ ├── error_matcher.h │ │ │ ├── error_matcher.test.cc │ │ │ ├── force_streaming.cc │ │ │ ├── force_streaming.h │ │ │ ├── frame_simulator.h │ │ │ ├── frame_simulator.inl │ │ │ ├── frame_simulator.perf.cc │ │ │ ├── frame_simulator.pybind.cc │ │ │ ├── frame_simulator.pybind.h │ │ │ ├── frame_simulator.test.cc │ │ │ ├── frame_simulator_pybind_test.py │ │ │ ├── frame_simulator_util.h │ │ │ ├── frame_simulator_util.inl │ │ │ ├── frame_simulator_util.test.cc │ │ │ ├── graph_simulator.cc │ │ │ ├── graph_simulator.h │ │ │ ├── graph_simulator.test.cc │ │ │ ├── matched_error.cc │ │ │ ├── matched_error.h │ │ │ ├── matched_error.pybind.cc │ │ │ ├── matched_error.pybind.h │ │ │ ├── matched_error.test.cc │ │ │ ├── matched_error_pybind_test.py │ │ │ ├── measurements_to_detection_events.h │ │ │ ├── measurements_to_detection_events.inl │ │ │ ├── measurements_to_detection_events.pybind.cc │ │ │ ├── measurements_to_detection_events.pybind.h │ │ │ ├── measurements_to_detection_events.test.cc │ │ │ ├── measurements_to_detection_events_test.py │ │ │ ├── sparse_rev_frame_tracker.cc │ │ │ ├── sparse_rev_frame_tracker.h │ │ │ ├── sparse_rev_frame_tracker.test.cc │ │ │ ├── tableau_simulator.h │ │ │ ├── tableau_simulator.inl │ │ │ ├── tableau_simulator.perf.cc │ │ │ ├── tableau_simulator.pybind.cc │ │ │ ├── tableau_simulator.pybind.h │ │ │ ├── tableau_simulator.test.cc │ │ │ ├── tableau_simulator_pybind_test.py │ │ │ ├── vector_simulator.cc │ │ │ ├── vector_simulator.h │ │ │ └── vector_simulator.test.cc │ │ ├── stabilizers/ │ │ │ ├── README.md │ │ │ ├── clifford_string.h │ │ │ ├── clifford_string.perf.cc │ │ │ ├── clifford_string.pybind.cc │ │ │ ├── clifford_string.pybind.h │ │ │ ├── clifford_string.test.cc │ │ │ ├── clifford_string_pybind_test.py │ │ │ ├── flex_pauli_string.cc │ │ │ ├── flex_pauli_string.h │ │ │ ├── flex_pauli_string.test.cc │ │ │ ├── flow.h │ │ │ ├── flow.inl │ │ │ ├── flow.pybind.cc │ │ │ ├── flow.pybind.h │ │ │ ├── flow.test.cc │ │ │ ├── flow_pybind_test.py │ │ │ ├── pauli_string.h │ │ │ ├── pauli_string.inl │ │ │ ├── pauli_string.perf.cc │ │ │ ├── pauli_string.pybind.cc │ │ │ ├── pauli_string.pybind.h │ │ │ ├── pauli_string.test.cc │ │ │ ├── pauli_string_iter.h │ │ │ ├── pauli_string_iter.inl │ │ │ ├── pauli_string_iter.perf.cc │ │ │ ├── pauli_string_iter.pybind.cc │ │ │ ├── pauli_string_iter.pybind.h │ │ │ ├── pauli_string_iter.test.cc │ │ │ ├── pauli_string_pybind_test.py │ │ │ ├── pauli_string_ref.h │ │ │ ├── pauli_string_ref.inl │ │ │ ├── pauli_string_ref.test.cc │ │ │ ├── tableau.h │ │ │ ├── tableau.inl │ │ │ ├── tableau.perf.cc │ │ │ ├── tableau.pybind.cc │ │ │ ├── tableau.pybind.h │ │ │ ├── tableau.test.cc │ │ │ ├── tableau_iter.h │ │ │ ├── tableau_iter.inl │ │ │ ├── tableau_iter.perf.cc │ │ │ ├── tableau_iter.pybind.cc │ │ │ ├── tableau_iter.pybind.h │ │ │ ├── tableau_iter.test.cc │ │ │ ├── tableau_pybind_test.py │ │ │ ├── tableau_specialized_prepend.inl │ │ │ ├── tableau_transposed_raii.h │ │ │ └── tableau_transposed_raii.inl │ │ ├── util_bot/ │ │ │ ├── arg_parse.cc │ │ │ ├── arg_parse.h │ │ │ ├── arg_parse.test.cc │ │ │ ├── error_decomp.cc │ │ │ ├── error_decomp.h │ │ │ ├── error_decomp.perf.cc │ │ │ ├── error_decomp.test.cc │ │ │ ├── probability_util.cc │ │ │ ├── probability_util.h │ │ │ ├── probability_util.perf.cc │ │ │ ├── probability_util.test.cc │ │ │ ├── str_util.h │ │ │ ├── str_util.test.cc │ │ │ ├── test_util.test.cc │ │ │ ├── test_util.test.h │ │ │ ├── twiddle.h │ │ │ └── twiddle.test.cc │ │ └── util_top/ │ │ ├── circuit_flow_generators.h │ │ ├── circuit_flow_generators.inl │ │ ├── circuit_flow_generators.test.cc │ │ ├── circuit_flow_generators_test.py │ │ ├── circuit_inverse_qec.cc │ │ ├── circuit_inverse_qec.h │ │ ├── circuit_inverse_qec.inl │ │ ├── circuit_inverse_qec.test.cc │ │ ├── circuit_inverse_qec_test.py │ │ ├── circuit_inverse_unitary.cc │ │ ├── circuit_inverse_unitary.h │ │ ├── circuit_inverse_unitary.test.cc │ │ ├── circuit_to_dem.h │ │ ├── circuit_to_dem.test.cc │ │ ├── circuit_to_detecting_regions.cc │ │ ├── circuit_to_detecting_regions.h │ │ ├── circuit_to_detecting_regions.test.cc │ │ ├── circuit_to_detecting_regions_test.py │ │ ├── circuit_vs_amplitudes.cc │ │ ├── circuit_vs_amplitudes.h │ │ ├── circuit_vs_amplitudes.test.cc │ │ ├── circuit_vs_tableau.h │ │ ├── circuit_vs_tableau.inl │ │ ├── circuit_vs_tableau.test.cc │ │ ├── count_determined_measurements.h │ │ ├── count_determined_measurements.inl │ │ ├── count_determined_measurements.test.cc │ │ ├── export_crumble_url.cc │ │ ├── export_crumble_url.h │ │ ├── export_crumble_url.test.cc │ │ ├── export_crumble_url_pybind_test.py │ │ ├── export_qasm.cc │ │ ├── export_qasm.h │ │ ├── export_qasm.test.cc │ │ ├── export_qasm_pybind_test.py │ │ ├── export_quirk_url.cc │ │ ├── export_quirk_url.h │ │ ├── export_quirk_url.test.cc │ │ ├── export_quirk_url_pybind_test.py │ │ ├── has_flow.cc │ │ ├── has_flow.h │ │ ├── has_flow.inl │ │ ├── has_flow.test.cc │ │ ├── mbqc_decomposition.cc │ │ ├── mbqc_decomposition.h │ │ ├── mbqc_decomposition.test.cc │ │ ├── missing_detectors.cc │ │ ├── missing_detectors.h │ │ ├── missing_detectors.test.cc │ │ ├── reference_sample_tree.cc │ │ ├── reference_sample_tree.h │ │ ├── reference_sample_tree.inl │ │ ├── reference_sample_tree.perf.cc │ │ ├── reference_sample_tree.test.cc │ │ ├── simplified_circuit.cc │ │ ├── simplified_circuit.h │ │ ├── simplified_circuit.test.cc │ │ ├── stabilizers_to_tableau.h │ │ ├── stabilizers_to_tableau.inl │ │ ├── stabilizers_to_tableau.perf.cc │ │ ├── stabilizers_to_tableau.test.cc │ │ ├── stabilizers_vs_amplitudes.h │ │ ├── stabilizers_vs_amplitudes.inl │ │ ├── stabilizers_vs_amplitudes.test.cc │ │ ├── transform_without_feedback.cc │ │ ├── transform_without_feedback.h │ │ └── transform_without_feedback.test.cc │ ├── stim.cc │ ├── stim.h │ ├── stim.test.cc │ └── stim_included_twice.test.cc └── testdata/ ├── circuit_all_ops_3d.gltf ├── classical_feedback.gltf ├── collapsing.gltf ├── detector_pseudo_targets.gltf ├── empty_match_graph.gltf ├── lattice_surgery_cnot.gltf ├── match_graph_no_coords.gltf ├── match_graph_repetition_code.gltf ├── match_graph_surface_code.gltf ├── measurement_looping.gltf ├── noise_gates_1.gltf ├── noise_gates_2.gltf ├── noise_gates_3.gltf ├── repeat.gltf ├── repetition_code.gltf ├── single_qubits_gates.gltf ├── surface_code.gltf ├── test_circuit_all_ops.gltf ├── tick.gltf └── two_qubits_gates.gltf