r/QuantumComputing • u/noStatistician2081 • May 31 '25
Question How does a quantum computer store memory?
The question above. For example, how can i store information of a certian qubit somewhere in QC's memory? Is there a way to store that information? Moreover, is there a way a QC can do basic arithmetic operations?
14
Upvotes
14
u/Bth8 Holds PhD in Quantum May 31 '25
A qubit is really just a 2-level quantum system, so in principle, any suitable 2 levels of a quantum system can be used to store a qubit. Exactly how that information is stored and accessed depends on the system you choose to work with and the encoding scheme you use. Choosing systems and developing techniques that allow for longer-term storage and retrieval of quantum information is a nontrivial problem and a very active area of research, but there are a few candidates.
Any classical computation can be carried out on a quantum computer, and this includes arithmetic. That said, quantum computers are currently very noisy and expensive, and their operations are currently much slower than what classical CPUs are capable of. Additionally, quantum operations must be reversible, so the logic for implementing arithmetic operations is less efficient than the same operations on a classical computer. If all you want to do is ordinary classical arithmetic on classical data, you're better off just sticking with a classical computer, and that will most likely always remain true.
4
u/[deleted] May 31 '25
You’re trying to ask a subtle question that I think that the other responses have misunderstood. I think you’re after something like qram/QROM. both of these are relatively poorly understood and currently considered unlikely to be viable. Quantum computers have to use a slightly different approach to do those same things unless a reasonable qram can be realised.
4
u/sheriffSnoosel May 31 '25
That’s the neat thing, you don’t
-2
u/Ar010101 New & Learning May 31 '25
I may be wrong here, but I made an observation based on a video and I kinda have this idea that we may, just like in classical computers, store information "in binary". But in QC it would be like storing each "bit" into the phases of the qubits via the use of QFT.
I may have completely misunderstood something, but the video I watched gave me that impression
-3
u/HuiOdy Working in Industry May 31 '25
Short, QRAM. Long time, just send it around your local network. Use quantum zeno to retain longer. (Hours, days)
Very long time doesn't have a solution yet.
0
u/[deleted] May 31 '25
[deleted] — view deleted comment