This repository was archived by the owner on Jan 16, 2026. It is now read-only.
Fix TestGaussianGateApplication tests - #762
Closed
heltluke wants to merge 10 commits into
Closed
Conversation
Make it clear that we're not accepting contributions for new features.
Clarify that we're not accepting contributions for new features.
Make it clear that we're not accepting new features
make it clear that we're not accepting new features
heltluke
marked this pull request as draft
December 19, 2025 15:44
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #762 +/- ##
==========================================
- Coverage 98.33% 98.21% -0.12%
==========================================
Files 78 78
Lines 9603 9539 -64
==========================================
- Hits 9443 9369 -74
- Misses 160 170 +10 see 74 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context:
Two tests are failing with
ValueError: The matrix S is not symplectic.Description of the Change:
Reduces the
scalefrom1.0to0.5in the failing tests, i.e.S = tf.Variable(random_symplectic(num_mode, scale=0.5), dtype=tf.complex128)Benefits:
Tests pass
Possible Drawbacks:
We're not testing what we should be testing?
Related GitHub Issues:
N/A