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

[tcirc] Overload TopologicalRegister constructor to handle multiple logical qubits of same type #73

Open
1 task
jeffreyjgong opened this issue Dec 14, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jeffreyjgong
Copy link
Collaborator

Instead of having to specify TopologicalRegister(ctypes=[REPETITION, REPETITION], params=[{"d" : 3}, {"d" : 3}]), one could instead be able to use TopologicalRegister(2, ctype=REPETITION, params={"d": 3}).

  • Add overloaded TopologicalRegister constructor in circ.py
@jeffreyjgong jeffreyjgong self-assigned this Dec 14, 2021
@jeffreyjgong jeffreyjgong added the enhancement New feature or request label Dec 14, 2021
@jeffreyjgong jeffreyjgong added this to the 0.2.0 milestone Dec 14, 2021
@Phionx Phionx modified the milestones: 0.2.0, 0.2.1 Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants