We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would expect the following script to return True
True
Wires(["a"]) == Wires([Wires("a")])
i.e. detect if there are nested wires, and not accumulate them as different objects
Currently, they are different wires, which generates unwanted situations such as:
No response
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)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
Additional information
No response
Source code
No response
Tracebacks
No response
System information
Existing GitHub issues
The text was updated successfully, but these errors were encountered: