-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Lines 246 to 249 in b306747
| // TODO: find a way to do this in one line with ApplyToEach | |
| for (qubitIndex in RangeAsIntArray(0..Length(registerA)-1)) { | |
| SWAP(registerA[qubitIndex], registerB[qubitIndex]); | |
| } |
This could be replaced by:
ApplyToEachCA(SWAP, Zipped(registerA, registerB));Metadata
Metadata
Assignees
Labels
No labels