Skip to content

import error 'get_devices' #220

@am610

Description

@am610

HI, I am trying to run this notebook :

https://github.com/rigetti/grove/blob/master/examples/Tomography.ipynb

I get error here

ImportError Traceback (most recent call last)
in
12
13 from pyquil.gates import CZ, RY
---> 14 from pyquil.api import QVMConnection, QPUConnection, get_devices
15 from pyquil.quil import Program
16

ImportError: cannot import name 'get_devices' from 'pyquil.api' (/usr/local/lib/python3.7/site-packages/pyquil/api/init.py)

Any help ? I can't find a possible fix to it yet.

thanks

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