# Qubits Related to RAM?

I read in this article that the amount of bits that can be emulated by a certain number of qubits is 2^(number of qubits). This is because each qubit can be in one of 2 states after it collapses, and so before all the quantum... whatevers collapse, that is the function that gets that result. At least, that was generally what it was saying, but I probably mangled the explanation myself; sorry.

Anyway, this relation (2^n) happens to be the same as the relation between memory registers and RAM in classical computers (i.e. if the computer has n bits in the register, it can have up to 2^n bytes in RAM). Is this important? Does it mean qubits will become like the memory registers and their states like the RAM when we switch to quantum computers? Or is it just something that seems important but is actually meaningless in practice?

By the way, there don't seem to be any tags for some things I referenced, like RAM & memory registers. Is that because the site is so new, or am I just not looking hard enough?

• "same as the relation between memory registers and RAM in classical computers" In what sense? – phs Feb 17 '14 at 23:30
• I think it was registers, but it may have been the bus or something. If there are n bytes in the bus (or whatever) there are 2^n bytes in RAM. Similarly, if there are n qubits, there are 2^n states they can all be in at one time (up, down, up....; down, up down....; etc.) Edited my question. – trysis Feb 17 '14 at 23:35
• You might read scottaaronson.com/democritus/lec10.html, especially the section on Quantum Computing and NP-complete Problems. – D.W. Feb 17 '14 at 23:54
• On the "classical computer" half of your comparison, you appear to be thinking of the relationship between the size of an address ($n$) and the size of the space it can describe ($2^n$). When the size of an address is convenient, it is common to make bus widths match that size, so that addresses are easy to send to and from memory. – phs Feb 18 '14 at 0:10
• Yes, I think that is what I meant. That's called the register, right? – trysis Feb 18 '14 at 0:42

This coincidence just shows that the function $n \mapsto 2^n$ shows up in many places. For example, an $n$ bit register can store up to $2^n$ different values. If wireless frequency is parametrized using $n$ bits, then there are up to $2^n$ possible frequencies (in fact, there are probably a bit less). If an IP address is $n$ bits, then there are at most $2^n$ possible IP addresses (in fact, there are fewer). If a cryptographic key is $n$ bits long, then there are $2^n$ possible keys. And so on.
• "If an IP address is $n$ bits, then there are at most $2^n$ possible IP addresses (in fact, there are fewer)." - please elaborate. – G. Bach Feb 18 '14 at 0:31