qsharp-community / qram

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

Naming for API calls/interface parts #5

Open crazy4pi314 opened 4 years ago

crazy4pi314 commented 4 years ago

I am starting this because of @glassnotes's comment on #3 that we could call the QRAM type that a user can call to access the ram a 'LooqUpTable / LooqUpBit, or just the general qROM.'

crazy4pi314 commented 4 years ago

Also moving some notes from the source files here:

 BB has a register of hardware qubits - need to know which of those are
 set to 1; easiest way to do that is to send a string like "0011" to indicate that
 this register is in the state

 |0> ------   (qubit 0, address 00)
 |0> ------   (qubit 1, address 01)
 |1> ------   (qubit 2, address 10)
 |1> ------   (qubit 3, address 11)

 This is a 2-bit address; so QRAM(00) = 0, QRAM(01) = 0, QRAM(10) = 1, QRAM(11) = 1

The black box has to perform this operation ^^ given the inputs, based on the contents
 of the hardware register it starts with
crazy4pi314 commented 4 years ago

This has come a long way, we will eventually add an explicit API document in the docs for the library to address this.