Skip to content

Commit 01bcdc7

Browse files
committed
Check if the new test breaks CI
1 parent 5953e8a commit 01bcdc7

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

test/python/transpiler/test_sabre_layout.py

+18-18
Original file line numberDiff line numberDiff line change
@@ -315,24 +315,24 @@ def test_support_var_with_explicit_routing_pass(self):
315315
layout = pass_.property_set["layout"]
316316
self.assertEqual([layout[q] for q in qc.qubits], [2, 3, 4, 1, 5])
317317

318-
@slow_test
319-
def test_release_valve_routes_multiple(self):
320-
"""Test Sabre works if the release valve routes more than 1 operation.
321-
322-
Regression test of #13081.
323-
"""
324-
qv = QuantumVolume(500, seed=42)
325-
qv.measure_all()
326-
qc = Unroll3qOrMore()(qv)
327-
328-
cmap = CouplingMap.from_heavy_hex(21)
329-
pm = PassManager(
330-
[
331-
SabreLayout(cmap, swap_trials=20, layout_trials=20, max_iterations=4, seed=100),
332-
]
333-
)
334-
_ = pm.run(qc)
335-
self.assertIsNotNone(pm.property_set.get("layout"))
318+
# @slow_test
319+
# def test_release_valve_routes_multiple(self):
320+
# """Test Sabre works if the release valve routes more than 1 operation.
321+
322+
# Regression test of #13081.
323+
# """
324+
# qv = QuantumVolume(500, seed=42)
325+
# qv.measure_all()
326+
# qc = Unroll3qOrMore()(qv)
327+
328+
# cmap = CouplingMap.from_heavy_hex(21)
329+
# pm = PassManager(
330+
# [
331+
# SabreLayout(cmap, swap_trials=20, layout_trials=20, max_iterations=4, seed=100),
332+
# ]
333+
# )
334+
# _ = pm.run(qc)
335+
# self.assertIsNotNone(pm.property_set.get("layout"))
336336

337337

338338
class DensePartialSabreTrial(AnalysisPass):

0 commit comments

Comments
 (0)