Skip to content

Commit

Permalink
Fix bug in test_load_qpu_device (#30)
Browse files Browse the repository at this point in the history
* Fix bug in test_load_qpu_device

* remove print statement
  • Loading branch information
josh146 committed Dec 2, 2019
1 parent a5dd870 commit 2a6b040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_qpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TestQPUIntegration(BaseTest):

def test_load_qpu_device(self):
"""Test that the QPU device loads correctly"""
device = [qpu for qpu in VALID_QPU_LATTICES if '2Q' in qpu][0]
device = [qpu for qpu in VALID_QPU_LATTICES if '-2Q' in qpu][0]
dev = qml.device("forest.qpu", device=device, load_qc=False)
self.assertEqual(dev.num_wires, 2)
self.assertEqual(dev.shots, 1024)
Expand Down

0 comments on commit 2a6b040

Please sign in to comment.