qsharp-community / qram

Library for Q# implementing various qRAM proposals
MIT License
52 stars 17 forks source link

Suggestion for TODO in SwapFullRegisters #48

Open msoeken opened 3 years ago

msoeken commented 3 years ago

https://github.com/qsharp-community/qram/blob/b306747f7b6990eaadf0146a6265a54e4bd2ded5/src/Common.qs#L246-L249

This could be replaced by:

ApplyToEachCA(SWAP, Zipped(registerA, registerB));