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

'QVMConnection' object has no attribute 'run_and_measure_async' #206

Open
yangjy0826 opened this issue Apr 29, 2019 · 0 comments
Open

'QVMConnection' object has no attribute 'run_and_measure_async' #206

yangjy0826 opened this issue Apr 29, 2019 · 0 comments

Comments

@yangjy0826
Copy link

Hi,

I am try to run this tomography example on my laptop. I think I have finished the implementation successfully, because when I import the packages by:

from grove.tomography.state_tomography import do_state_tomography
from grove.tomography.utils import notebook_mode
from grove.tomography.process_tomography import do_process_tomography

no error occurs. But when I try to run this part:

%%time
print("Running state tomography on the QVM for reference...")
state_tomography_qvm, _, _ = do_state_tomography(p, NUM_SAMPLES, qvm, qubits)
print("State tomography completed.")

An error occurs, showing that: AttributeError: 'QVMConnection' object has no attribute 'run_and_measure_async'.

Could you please tell me how can I solve this problem? Thank you!

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