Skip to content

Commit

Permalink
discard photon at indistinguishability_window failure
Browse files Browse the repository at this point in the history
  • Loading branch information
res6idue committed Jul 18, 2023
1 parent 7c9a55e commit 2d5e0fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quisp/modules/PhysicalConnection/BSA/BellStateAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ void BellStateAnalyzer::processPhotonRecords() {
batch_click_msg->appendClickResults(processIndistinguishPhotons(p, q));
} else {
batch_click_msg->appendClickResults({.success = false, .correction_operation = PauliOperator::I});
discardPhoton(p);
discardPhoton(q);
}
}
first_port_records.clear();
Expand Down

0 comments on commit 2d5e0fa

Please sign in to comment.