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

Add Serialization and Deserialization Support of FSimViaModelTag. #6539

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

BichengYing
Copy link
Collaborator

@BichengYing BichengYing commented Apr 1, 2024

Add the support of serialization and deserialization of FSimGate(theta, phi).with_tags(FSimViaModelTag()), which is needed for the support the external user to use arbitrary angle FSim. With this tag, the internal translation of FSim will use polynomial instead of relied on the a few choices of specified angles.

CC: @eliottrosenberg

Copy link

codecov bot commented Apr 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.78%. Comparing base (7b97ead) to head (be34e44).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6539      +/-   ##
==========================================
- Coverage   97.78%   97.78%   -0.01%     
==========================================
  Files        1107     1107              
  Lines       95178    95182       +4     
==========================================
+ Hits        93069    93072       +3     
- Misses       2109     2110       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BichengYing BichengYing marked this pull request as ready for review April 1, 2024 21:48
@BichengYing BichengYing requested review from wcourtney, vtomole, cduck, verult and a team as code owners April 1, 2024 21:48
@verult verult merged commit f955650 into quantumlib:main Apr 1, 2024
31 checks passed
jselig-rigetti pushed a commit to jselig-rigetti/Cirq that referenced this pull request May 28, 2024
…antumlib#6539)

* Add Serialization and Deserialization Support of FSimViaModelTag.

* Fix the lint

* Update program_pb2.pyi
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.

2 participants