Skip to content

Commit

Permalink
Change checkrule as per the created ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
lmpawan10 committed May 12, 2024
1 parent 5a1dcd7 commit f602b87
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 f602b87

Please sign in to comment.