Skip to content

Commit

Permalink
Merge pull request #553 from lmpawan10/checkrule-ruleset-mismatch
Browse files Browse the repository at this point in the history
Change checkrule as per the created ruleset
  • Loading branch information
Naphann authored Jun 7, 2024
2 parents 5a1dcd7 + f602b87 commit 7f11c22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quisp/modules/QRSA/HardwareMonitor/HardwareMonitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -815,13 +815,13 @@ void HardwareMonitor::sendLinkTomographyRuleSet(int my_address, int partner_addr
rule = constructPurifyRule(rule_name, PurType::DOUBLE_SELECTION_XZ_PURIFICATION, partner_address, qnic_type, qnic_index, shared_tag);
tomography_RuleSet->addRule(std::move(rule));
tomography_RuleSet->addRule(
constructCorrelationCheckRule("purification correlation check", PurType::DOUBLE_SELECTION_X_PURIFICATION, partner_address, qnic_type, qnic_index, shared_tag++));
constructCorrelationCheckRule("purification correlation check", PurType::DOUBLE_SELECTION_XZ_PURIFICATION, partner_address, qnic_type, qnic_index, shared_tag++));
} else {
rule_name = "Double selection Dual action Inverse with: " + std::to_string(partner_address);
rule = constructPurifyRule(rule_name, PurType::DOUBLE_SELECTION_ZX_PURIFICATION, partner_address, qnic_type, qnic_index, shared_tag);
tomography_RuleSet->addRule(std::move(rule));
tomography_RuleSet->addRule(
constructCorrelationCheckRule("purification correlation check", PurType::DOUBLE_SELECTION_Z_PURIFICATION, partner_address, qnic_type, qnic_index, shared_tag++));
constructCorrelationCheckRule("purification correlation check", PurType::DOUBLE_SELECTION_ZX_PURIFICATION, partner_address, qnic_type, qnic_index, shared_tag++));
}
}
} else if (purification_type == 1061) {
Expand Down

0 comments on commit 7f11c22

Please sign in to comment.