Skip to content

Commit

Permalink
another single qubit backend
Browse files Browse the repository at this point in the history
  • Loading branch information
1ucian0 committed Jun 25, 2024
1 parent c8982a7 commit 43a94f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/visual/mpl/graph/test_graph_matplotlib_drawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 43a94f1

Please sign in to comment.