by latenightcoding · 5y ago · 0 comments
"In order to maintain a quantum superposition, we have to follow very strict rules imposed by quantum mechanics. We can't make operations depend on the state, so nothing like an if statement is available. Also all operations have to be reversible, so we don't have logical 'and' or 'or'. A relative handful of programs can follow these rules and get a huge speedup from quantum parallelism. The vast majority of useful computer programs can't be rewritten this way and get little or no speedup."