XanaduAI/MrMustard

The circuit drawer displays parameters incorrectly

SamFerracin opened this issue · 2 comments

Before posting a bug report

  • I have searched exisisting GitHub issues to make sure the issue does not already exist.

Expected behavior

Dgate(1.0)[2] >> Sgate([1., -1])
The circuit drawer should represent the Sgates as S(1.0, 0.0) and S(-1.0, 0.0)

Actual behavior

The circuit drawer displays both the Sgates as S(r, 0.0)

Reproduces how often

always

System information

Mr Mustard: a differentiable bridge between phase space and Fock space.
Copyright 2021 Xanadu Quantum Technologies Inc.

Python version:            3.9.18
Platform info:             Linux-5.15.0-92-generic-x86_64-with-glibc2.31
Installation path:         /home/samuele.ferracin/git/MrMustard/mrmustard
Mr Mustard version:        0.7.0.dev0
Numpy version:             1.23.5
Numba version:             0.56.4
Scipy version:             1.12.0
The Walrus version:        0.19.0
TensorFlow version:        2.14.0

Source code

No response

Tracebacks

No response

Additional information

No response

Solved on lab_dev

Solved on lab_dev