From 43a94f1d79f72c482a38820ddef63df85836a0d0 Mon Sep 17 00:00:00 2001 From: Luciano Bello Date: Tue, 25 Jun 2024 20:16:39 +0200 Subject: [PATCH] another single qubit backend --- test/visual/mpl/graph/test_graph_matplotlib_drawer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/visual/mpl/graph/test_graph_matplotlib_drawer.py b/test/visual/mpl/graph/test_graph_matplotlib_drawer.py index ae69f212f89c..20fae107d30d 100644 --- a/test/visual/mpl/graph/test_graph_matplotlib_drawer.py +++ b/test/visual/mpl/graph/test_graph_matplotlib_drawer.py @@ -389,7 +389,7 @@ def test_plot_1_qubit_gate_map(self): """Test plot_gate_map using 1 qubit backend""" # getting the mock backend from FakeProvider - backend = GenericBackendV2(num_qubits=1) + backend = GenericBackendV2(num_qubits=1, basis_gates=["id", "rz", "sx", "x"]) fname = "1_qubit_gate_map.png" self.graph_plot_gate_map(backend=backend, filename=fname)