Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated pyQuil imports in utils.py and tomography.py #219

Open
1 task
brian-phasecraft opened this issue Oct 27, 2021 · 0 comments
Open
1 task

Outdated pyQuil imports in utils.py and tomography.py #219

brian-phasecraft opened this issue Oct 27, 2021 · 0 comments

Comments

@brian-phasecraft
Copy link

Using

  • pyQuil version: 3.0.1

with the latest installation of forest.

Some functions have been moved within pyQuil, which are imported by forest.

  • utils.py
    • from pyquil.gate_matrices import X, Y, Z
    • should be
    • from pyquil.gates import X,Y,Z
  • tomopgraphy.py
    • from pyquil.unitary_tools import lifted_pauli as pauli2matrix, lifted_state_operator as state2matrix
    • should be
    • from pyquil.simultion.tools import lifted_pauli as pauli2matrix, lifted_state_operator as state2matrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant