Skip to content

Commit

Permalink
GridDevice serialization refactor (#6094)
Browse files Browse the repository at this point in the history
* GridDevice serialization refactor.

* Fixed type and lint errors

* Fixed more mypy errors

* Addressed nits and small fixes

* Fix coverage checks; made from_device_information experimental

* Renamed _GateRepresentation fields to clarify purpose

* Updated _from_device_information() callsites

* Fix lint error

* Remove unnecessary _in_or_equals() check.

Gateset.gates is a collection of GateFamilies, so most branches in the check don't apply.
  • Loading branch information
verult committed May 19, 2023
1 parent 091688d commit 0066a53
Show file tree
Hide file tree
Showing 3 changed files with 339 additions and 203 deletions.

0 comments on commit 0066a53

Please sign in to comment.