Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Fix issue with parameters in metadata #1095

Conversation

rathishcholarajan
Copy link
Member

Summary

Backported from #1065

Details and comments

rafal-pracht and others added 2 commits December 8, 2021 11:06
* Fix issue with parameters in metadata

* Move encode method to json_encoder.

* Fix lint issue: Using type() instead of isinstance() for a typecheck

* Fix lint issue: E501 line too long (115 > 100 characters)

* Fix lint issue.

* Rewrie the encode method

* Change the parameter name.

* Convert to string only for Parameter.

* Test if test pass

* Fix, metadata issue

* Add test for Parameter in metadata

* Fix lint issue in test

* Fix lint issue in test

* Fix lint issue in test

* Move IQXJsonEncoder tests to test_serialization file

* Fix lint issue in test

* Fix lint issue in test

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
@rathishcholarajan
Copy link
Member Author

This lint issue is fixed in a following PR that I will merge to stable soon. No idea why it's failing here.

@rathishcholarajan rathishcholarajan merged commit e5fe33e into Qiskit:stable/0.18 Dec 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants