def test_plot_7_qubit_gate_map(self): """Test plot_gate_map using 7 qubit backend""" # getting the mock backend from FakeProvider backend = FakeCasablanca() self.graph_plot_gate_map(backend=backend, filename="7_qubit_gate_map.png")
def test_qubit_labels(self): """Test qubit_labels parameter of plot_gate_map""" # getting the mock backend from FakeProvider backend = FakeCasablanca() self.graph_plot_gate_map(backend=backend, qubit_labels=list(range(10, 17, 1)), filename="qubit_labels.png")
def test_qubit_color(self): """Test qubit_color parameter of plot_gate_map""" # getting the mock backend from FakeProvider backend = FakeCasablanca() self.graph_plot_gate_map(backend=backend, qubit_color=["#ff0000"] * 7, filename="qubit_color.png")