@@ -69,33 +69,9 @@ TEST_F(HSFTest, vqe10ParallelChecking) {
69
69
EXPECT_EQ (ecm.equivalence (), ec::EquivalenceCriterion::Equivalent);
70
70
}
71
71
72
- /*
73
- Note: This test fails due to a timeout. The issue arises because the std::future
74
- object blocks if a thread is stuck in a long-running operation. Although the HSF
75
- checker has completed, we wait for the alternating/construction checker to
76
- finish, which take significantly longer. This could potentially be resolved by
77
- using std::jthread.
78
- */
79
- // TEST_F(HSFTest, wstate10ParallelChecking) {
80
- // // Test the parallel equivalence checking flow where the HSF checker
81
- // delivers
82
- // // results first
83
- // const qc::QuantumComputation c1{testDir +
84
- // "wstate_indep_qiskit_10_no_measure.qasm"};
85
- // const qc::QuantumComputation c2{testDir +
86
- // "out_wstate_indep_qiskit_10_high_error.qasm"};
87
- // config.functionality.approximateCheckingThreshold = 0.991;
88
- // config.execution.runConstructionChecker = true;
89
- // config.execution.runAlternatingChecker = true;
90
- // config.execution.parallel = true;
91
- // ec::EquivalenceCheckingManager ecm(c1, c2, config);
92
- // ecm.run();
93
- // EXPECT_EQ(ecm.equivalence(), ec::EquivalenceCriterion::Equivalent);
94
- // }
95
-
96
72
TEST_F (HSFTest, ghz10ParallelChecking) {
97
- // Test the parallel equivalence checking flow where the alternating or
98
- // construction checker delivers results first
73
+ // Test the parallel equivalence checking flow where multiple checkers are
74
+ // enabled
99
75
const qc::QuantumComputation c1{
100
76
testDir + " ghz_nativegates_ibm_qiskit_opt3_10_no_measure.qasm" };
101
77
const qc::QuantumComputation c2{
@@ -110,8 +86,8 @@ TEST_F(HSFTest, ghz10ParallelChecking) {
110
86
}
111
87
112
88
TEST_F (HSFTest, ghz10SequentialChecking) {
113
- // Test the sequential equivalence checking flow where the alternating or
114
- // construction checker delivers results first
89
+ // Test the sequential equivalence checking flow where multiple checkers are
90
+ // enabled
115
91
const qc::QuantumComputation c1{
116
92
testDir + " ghz_nativegates_ibm_qiskit_opt3_10_no_measure.qasm" };
117
93
const qc::QuantumComputation c2{
0 commit comments