From f602b87ce3ee48b4bf1df20b20936c8c4247dcd5 Mon Sep 17 00:00:00 2001 From: lmpawan10 Date: Sun, 12 May 2024 09:30:03 +0000 Subject: [PATCH] Change checkrule as per the created ruleset --- quisp/modules/QRSA/HardwareMonitor/HardwareMonitor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quisp/modules/QRSA/HardwareMonitor/HardwareMonitor.cc b/quisp/modules/QRSA/HardwareMonitor/HardwareMonitor.cc index 73cfe2379..94adc478f 100644 --- a/quisp/modules/QRSA/HardwareMonitor/HardwareMonitor.cc +++ b/quisp/modules/QRSA/HardwareMonitor/HardwareMonitor.cc @@ -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) {