Skip to content

Commit

Permalink
bisect 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Dec 14, 2023
1 parent 45ee2cd commit 787b36c
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/chromobius/graph/collect_composite_errors_6.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,28 @@ void chromobius::xxx22(
std::vector<AtomicErrorKey> &atoms_buf,
std::vector<stim::DemTarget> &composite_error_buffer,
stim::DemInstruction instruction) {
obsmask_int obs_flip;
extract_obs_and_dets_from_error_instruction(instruction, &dets, &obs_flip);

decompose_dets_into_atoms(
dets.sorted_items,
obs_flip,
node_colors,
atomic_errors,
ignore_decomposition_failures,
&x_buf,
&z_buf,
instruction,
&dem,
&atoms_buf,
out_remnants);

if (drop_mobius_errors_involving_remnant_errors && !out_remnants->empty()) {
atoms_buf.clear();
out_remnants->clear();
}
throw std::invalid_argument("NO");
// obsmask_int obs_flip;
// extract_obs_and_dets_from_error_instruction(instruction, &dets, &obs_flip);
//
// decompose_dets_into_atoms(
// dets.sorted_items,
// obs_flip,
// node_colors,
// atomic_errors,
// ignore_decomposition_failures,
// &x_buf,
// &z_buf,
// instruction,
// &dem,
// &atoms_buf,
// out_remnants);
//
// if (drop_mobius_errors_involving_remnant_errors && !out_remnants->empty()) {
// atoms_buf.clear();
// out_remnants->clear();
// }
//

// // Convert atomic errors into mobius detection events with decomposition suggestions.
// composite_error_buffer.clear();
// bool has_corner_node = false;
Expand Down

0 comments on commit 787b36c

Please sign in to comment.