Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #419 from zapatacomputing/feature/ZQS-757/shiro-ra…
Browse files Browse the repository at this point in the history
…ven/extract-pyquil-conversion-logic

Removal of Pyquil's conversion logic
  • Loading branch information
Shiro-Raven authored Sep 2, 2021
2 parents cceed19 + a5d78b8 commit f0dd6e4
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 1,236 deletions.
7 changes: 1 addition & 6 deletions src/python/zquantum/core/circuits/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- defining quantum circuits with gates applied to qubits
- set of built-in gates (see imports in this `__init__`)
- import/export from/to Cirq and PyQuil circuits
- import/export from/to Cirq circuits
- circuit (de)serialization to/from JSON-compatible dicts
Examples:
Expand Down Expand Up @@ -51,9 +51,6 @@
export_to_cirq(circuit)
circuit2 = import_from_cirq(cirq_circuit)
export_to_pyquil(circuit)
circuit3 = import_from_pyquil(pyquil_program)
(De)serialization::
to_dict(circuit)
Expand Down Expand Up @@ -104,7 +101,6 @@
- Adding tests for conversion to other frameworks in:
- `zquantum.core.conversions.cirq_conversions_test`
- `zquantum.core.conversions.pyquil_conversions_test`
- Implement conversions. Some might work out of the box, e.g. if there's a gate with the
same name defined in PyQuil our converters will use it by default without need for
Expand Down Expand Up @@ -160,4 +156,3 @@
from ._testing import create_random_circuit
from ._wavefunction_operations import MultiPhaseOperation
from .conversions.cirq_conversions import export_to_cirq, import_from_cirq
from .conversions.pyquil_conversions import export_to_pyquil, import_from_pyquil
276 changes: 0 additions & 276 deletions src/python/zquantum/core/circuits/conversions/pyquil_conversions.py

This file was deleted.

77 changes: 0 additions & 77 deletions src/python/zquantum/core/circuits/symbolic/pyquil_expressions.py

This file was deleted.

Loading

0 comments on commit f0dd6e4

Please sign in to comment.