Skip to content

Commit b206f62

Browse files
committed
✅ Restructure tests
1 parent 9983e3e commit b206f62

File tree

1 file changed

+4
-28
lines changed

1 file changed

+4
-28
lines changed

test/test_hsf.cpp

+4-28
Original file line numberDiff line numberDiff line change
@@ -69,33 +69,9 @@ TEST_F(HSFTest, vqe10ParallelChecking) {
6969
EXPECT_EQ(ecm.equivalence(), ec::EquivalenceCriterion::Equivalent);
7070
}
7171

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-
9672
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
9975
const qc::QuantumComputation c1{
10076
testDir + "ghz_nativegates_ibm_qiskit_opt3_10_no_measure.qasm"};
10177
const qc::QuantumComputation c2{
@@ -110,8 +86,8 @@ TEST_F(HSFTest, ghz10ParallelChecking) {
11086
}
11187

11288
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
11591
const qc::QuantumComputation c1{
11692
testDir + "ghz_nativegates_ibm_qiskit_opt3_10_no_measure.qasm"};
11793
const qc::QuantumComputation c2{

0 commit comments

Comments
 (0)