Skip to content

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

@brian-phasecraft

Description

@brian-phasecraft

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions