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

Rich wires #523

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from
Open

Rich wires #523

wants to merge 14 commits into from

Conversation

ziofil
Copy link
Collaborator

@ziofil ziofil commented Nov 14, 2024

Wires have been challenging to maintain due to evolving requirements.

This PR introduces a better abstraction for Wire that stores a collection of QuantumWire and ClassicalWire dataclasses. Metadata can be added to these dataclasses without modifying the Wires object’s handling of indices and dictionaries. Many methods, like __matmul__, are greatly simplified.

@ziofil ziofil added the no changelog Pull request does not require a CHANGELOG entry label Nov 14, 2024
@ziofil ziofil added the WIP work in progress label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Pull request does not require a CHANGELOG entry WIP work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant