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

Remove deprecated warning from Terra and change our as_dict() to to_dict() #228

Merged

Conversation

atilag
Copy link
Member

@atilag atilag commented Jun 6, 2019

Summary

Fixes: #227

  • Removing deprecation warnings from Terra by using to_dict()
  • Deprecating our as_dict() methods in favor of to_dict()

Details and comments

We have changed all our as_dict() methods from the API to keep consitency with Terra, as we needed to change NoiseModel at least.

I have created a new Python helper class where we can put our global helper functions.

TODO

  • Write an entry in the changelog

* Deprecating our as_dict() methods in favor of to_dict()
@atilag atilag requested a review from chriseclectic June 6, 2019 17:04
atilag and others added 2 commits June 6, 2019 19:05
* Add entry in the Changelog
* Removing a print from a test
@chriseclectic chriseclectic merged commit cf235c3 into Qiskit:master Jun 6, 2019
gadial pushed a commit to gadial/qiskit-aer that referenced this pull request Jun 11, 2019
…ict() (Qiskit#228)

* * Removing deprecation warnings from Terra by using to_dict()
* Deprecating our as_dict() methods in favor of to_dict()

* * Add helpers.py new file
* Add entry in the Changelog

* * Fixing a bad tuple
* Removing a print from a test
@atilag atilag deleted the issue-227-remove-deprecation-warning branch August 9, 2019 09:42
dcmckayibm pushed a commit to dcmckayibm/qiskit-aer that referenced this pull request Nov 3, 2019
…ict() (Qiskit#228)

* * Removing deprecation warnings from Terra by using to_dict()
* Deprecating our as_dict() methods in favor of to_dict()

* * Add helpers.py new file
* Add entry in the Changelog

* * Fixing a bad tuple
* Removing a print from a test
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

Successfully merging this pull request may close these issues.

Aer backend giving depreciation warnings using terra master
2 participants