We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 339794b + 2556e86 commit ec4e5ddCopy full SHA for ec4e5dd
src/common.cc
@@ -127,7 +127,8 @@ stim::DetectorErrorModel common::merge_indistinguishable_errors(
127
case stim::DemInstructionType::DEM_ERROR: {
128
Error error(instruction);
129
if (error.symptom.detectors.size() == 0) {
130
- throw std::invalid_argument("Errors that do not flip any detectors are not supported.");
+ // TODO: For errors without detectors, the observables should be included if p>0.5
131
+ std::cout << "Warning: the circuit has errors that do not flip any detectors \n";
132
}
133
134
if (errors_by_symptom.find(error.symptom) != errors_by_symptom.end()) {
0 commit comments