Skip to content

Commit

Permalink
Merge pull request #3 from josh146/remove_localQVM
Browse files Browse the repository at this point in the history
Remove the LocalQVMCompiler from the tests
  • Loading branch information
msohaibalam committed Feb 22, 2019
2 parents 477989c + 52b5691 commit 45c4cf3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pyquil>=2.3
pyquil>=2.4
pennylane>=0.2
networkx
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


requirements = [
"pyquil>=2.3",
"pyquil>=2.4",
"pennylane>=0.2"
]

Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from pyquil import get_qc, Program
from pyquil.gates import I as Id
from pyquil.api import QVMConnection, LocalQVMCompiler, local_qvm
from pyquil.api import QVMConnection, QVMCompiler, local_qvm
from pyquil.api._config import PyquilConfig
from pyquil.api._errors import UnknownApiError

Expand Down Expand Up @@ -139,7 +139,7 @@ def compiler():
try:
config = PyquilConfig()
device = get_qc('3q-qvm').device
compiler = LocalQVMCompiler(endpoint=config.compiler_url, device=device)
compiler = QVMCompiler(endpoint=config.compiler_url, device=device)
compiler.quil_to_native_quil(Program(Id(0)))
return compiler
except (RequestException, UnknownApiError, TypeError) as e:
Expand Down

0 comments on commit 45c4cf3

Please sign in to comment.