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!
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:
no error occurs. But when I try to run this part:
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!