tequilahub / tequila

A High-Level Abstraction Framework for Quantum Algorithms
MIT License
362 stars 101 forks source link

Corrected deprecated cirq.TrialResult to circ.Result #168

Closed MIBbrandon closed 3 years ago

MIBbrandon commented 3 years ago

(https://newreleases.io/project/github/quantumlib/Cirq/release/v0.9.1)

After installing the package with pip3 and running the "Tequila Hello World" code presented in README.md, I got an AttributeError where "cirq has no attribute TrialResult". It seems to be deprecated, and according to the link above, using cirq.Result instead should result in no major changes.

kottmanj commented 3 years ago

Hi. Thank you for noticing :-) It seems that the issue was fixed just a few days ago by someone who had the same problem. (Updating the branch resulted in zero changes).

I will close the PR. However: If you experience further trouble after updating tequila, just let me know.

Changes are not on PyPi yet (but they are on the master branch)