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

[BUG] wires initialization issue #6669

Open
1 task done
KetpuntoG opened this issue Dec 4, 2024 · 0 comments
Open
1 task done

[BUG] wires initialization issue #6669

KetpuntoG opened this issue Dec 4, 2024 · 0 comments
Labels
bug 🐛 Something isn't working

Comments

@KetpuntoG
Copy link
Contributor

Expected behavior

It would expect the following script to return True

Wires(["a"]) == Wires([Wires("a")])

i.e. detect if there are nested wires, and not accumulate them as different objects

Actual behavior

Currently, they are different wires, which generates unwanted situations such as:

image

Additional information

No response

Source code

No response

Tracebacks

No response

System information

Platform info:           macOS-14.6.1-arm64-arm-64bit
Python version:          3.11.10
Numpy version:           1.26.4
Scipy version:           1.13.0
Installed devices:
- default.clifford (PennyLane-0.40.0.dev27)
- default.gaussian (PennyLane-0.40.0.dev27)
- default.mixed (PennyLane-0.40.0.dev27)
- default.qubit (PennyLane-0.40.0.dev27)
- default.qutrit (PennyLane-0.40.0.dev27)
- default.qutrit.mixed (PennyLane-0.40.0.dev27)
- default.tensor (PennyLane-0.40.0.dev27)
- null.qubit (PennyLane-0.40.0.dev27)
- reference.qubit (PennyLane-0.40.0.dev27)
- lightning.kokkos (PennyLane_Lightning_Kokkos-0.40.0.dev14)
- lightning.qubit (PennyLane_Lightning-0.40.0.dev14)

Existing GitHub issues

  • I have searched existing GitHub issues to make sure the issue does not already exist.
@KetpuntoG KetpuntoG added the bug 🐛 Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant