You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't been able to find the root cause of this but it also happens for r = np.array([1,0,0]) or any other array with more than one zero. Any ideas?
Before posting a bug report
Expected behavior
Consider
Actual behavior
The returned matrices
O1
andO2
in the example above are not symplectic.Reproduces how often
Always
System information
Strawberry Fields: a Python library for continuous-variable quantum circuits. Copyright 2018-2020 Xanadu Quantum Technologies Inc. Python version: 3.9.7 Platform info: Installation path: Strawberry Fields version: 0.22.0-dev Numpy version: 1.21.5 Scipy version: 1.8.0 SymPy version: 1.10 NetworkX version: 2.6.3 The Walrus version: 0.20.0-dev Blackbird version: 0.4.0 XCC version: 0.1.2 TensorFlow version: 2.6.2
Source code
No response
Tracebacks
No response
Additional information
A fixed Bloch-Messiah can be found in https://github.com/polyquantique/thewalrus/pull/2
The text was updated successfully, but these errors were encountered: