Skip to content

Commit cd6a168

Browse files
committed
✅ extended test to include buffer in remap.
1 parent 1e55ad2 commit cd6a168

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/hybridmap/test_hybrid_synthesis_map.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ TEST_F(TestHybridSynthesisMapper, MapAppend) {
135135
const auto synthesizedQc = mapper.getSynthesizedQc();
136136
EXPECT_EQ(synthesizedQc.getNqubits(), 3);
137137
EXPECT_GE(synthesizedQc.getNops(), 3);
138+
mapper.completeRemap(false);
139+
mapper.completeRemap(true);
140+
const auto mappedQc = mapper.getMappedQc();
141+
EXPECT_GE(mappedQc.getNops(), synthesizedQc.getNops());
138142
}
139143

140144
TEST_F(TestHybridSynthesisMapper, Output) {

0 commit comments

Comments
 (0)