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
If you supply a Qubit (or list of or ...) to the QRegister constructor, extract the label to make that qubit part of this QRegister. That would make it easier for programs running QGL2 to create / retrieve Qubits from the channel library, and use the desired qubits in the QGL2 program.
The text was updated successfully, but these errors were encountered:
- 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
If you supply a
Qubit
(or list of or ...) to theQRegister
constructor, extract the label to make that qubit part of thisQRegister
. That would make it easier for programs running QGL2 to create / retrieve Qubits from the channel library, and use the desired qubits in the QGL2 program.The text was updated successfully, but these errors were encountered: