You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The QRegister constructor tries to ensure any qubit appears at most once in a given QRegister. This seems to have bugs. Note that a given qubit likely will appear in multiple registers, but should only appear once in a given register.
- if a single arg and it is int, handle specially
- else for each Arg, allow it to be a tuple, list, QRegister, String, or a Qubit
- QRegister: Append all qubits in the arg to the local set of qubits, ignoring any duplicates
- String: Try parsing as 'q#' and append that to local set if not already present
- Fix issue #31: Qubit: Try parsing name as 'q#' and append that to local set if not already present
- Fix Issue #32: list/tuple: Recurse
- Updates to working BasicSequences and notebooks, and up to date documentation
- Addresses issues #55, #38
- Also addresses #35, #32, #31
- Also #26, #25, #21
The
QRegister
constructor tries to ensure any qubit appears at most once in a givenQRegister
. This seems to have bugs. Note that a given qubit likely will appear in multiple registers, but should only appear once in a given register.See related issues #31, #32, #33, #34. (Particularly #32)
The text was updated successfully, but these errors were encountered: