Skip to content

Commit

Permalink
Move cirq.contrib.quil_import to cirq_rigetti.quil_input (#5493)
Browse files Browse the repository at this point in the history
Also removes pyquil dependencies from contrib's `requirements.txt`

Part of #4623
  • Loading branch information
vtomole authored Jun 13, 2022
1 parent 8539ad0 commit d8ef42e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 20 deletions.
15 changes: 0 additions & 15 deletions cirq-core/cirq/contrib/quil_import/__init__.py

This file was deleted.

4 changes: 0 additions & 4 deletions cirq-core/cirq/contrib/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,3 @@ opt_einsum
autoray
# required for py39 opcodes.
numba>=0.53.0

# quil import
pyquil~=2.28.2; python_version < "3.7"
pyquil~=3.0.0; python_version >= "3.7"
1 change: 1 addition & 0 deletions cirq-rigetti/cirq_rigetti/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
UnsupportedRigettiQCSOperation,
UnsupportedRigettiQCSQuantumProcessor,
)
from cirq_rigetti.quil_input import circuit_from_quil


# Registers the cirq_rigetti's public classes for JSON serialization.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from pyquil.simulation.tools import program_unitary

from cirq import Circuit, LineQubit
from cirq.contrib.quil_import.quil import (
from cirq_rigetti.quil_input import (
UndefinedQuilGate,
UnsupportedQuilInstruction,
circuit_from_quil,
Expand Down

0 comments on commit d8ef42e

Please sign in to comment.