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

Wire indexing in ops tests #67

Merged
merged 2 commits into from
Jan 28, 2021
Merged

Wire indexing in ops tests #67

merged 2 commits into from
Jan 28, 2021

Conversation

antalszava
Copy link
Contributor

Updates tests using Wires objects after some updates in PennyLane core (e.g., PennyLaneAI/pennylane@c1bfc27).

Indexing a Wires object now returns a single wire label instead of a Wires object with a single wire label:

In [5]: qml.wires.Wires([0,1])[0]
Out[5]: 0

@antalszava antalszava merged commit 3ee122b into master Jan 28, 2021
@antalszava antalszava deleted the wires_update branch January 28, 2021 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants