Closed glassnotes closed 4 years ago
So this should be fixed with #8, the issue was basically that it was not clear how ControlOnBitString
was behaving when the control value was smaller than the register it needed to control on. Will follow-up with an issue on the Q# libraries repo to request documentation for what happens in that case. It turned out that it was just controlling on 1 for bits that were in the control register but not in the control bit string.
Follow-up on official repos here: https://github.com/microsoft/QuantumLibraries/issues/262
When testing the qRAM query with the following:
Addresses 5 and 4 produce the correct results, however querying 1 produces a 0 when it should produce a 1. All other tests seem to pass...