Skip to content

Commit bbfd6f2

Browse files
Fixing test to check for gates that should belong to the given multiplier synthesis algorithm, and not the synthesis of the underlying QFT gate.
1 parent 145e722 commit bbfd6f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/python/circuit/library/test_multipliers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ def test_modular_cumulative_multiplier_custom_adder(self):
139139
_ = HRSCumulativeMultiplier(3, 3, adder=VBERippleCarryAdder(3))
140140

141141
def test_plugins(self):
142-
"""Test setting the HLS plugins for the modular adder."""
142+
"""Test setting the HLS plugins for the multiplier."""
143143

144144
# all gates with the plugins we check, including an expected operation
145-
plugins = [("cumulative_h18", "ch"), ("qft_r17", "mcphase")]
145+
plugins = [("cumulative_h18", "cSum"), ("qft_r17", "mcphase")]
146146

147147
num_state_qubits = 2
148148

0 commit comments

Comments
 (0)