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

Make registers iterable, fix some typos #107

Merged
merged 8 commits into from
Nov 6, 2023

Conversation

chensgit169
Copy link
Collaborator

Added IndexError when item out of range in __item__ as well. Making reg iterable is to support reg-wise instruction in pythonic style later, for example, when using qc.add_ins(). Yet functions of registers and Qubit remain to be further explored.

@Zhaoyilunnn Zhaoyilunnn merged commit 9330977 into ScQ-Cloud:master Nov 6, 2023
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