2 ms·
Programming languages for quantum computing needs to uphold some rules normal programs does not need to. The biggest is likely that no information may be destro
by erk__ 3y ago
Programming languages for quantum computing needs to uphold some rules normal programs does not need to. The biggest is likely that no information may be destroyed when the program is run, from this follows that it needs to be reversible. This means that from any result you should be able to compute the input. Rules like these can be hard to uphold in normal languages (I have done it with a subset of rust in the past) so a specialized language is often used instead.
There is probably more to it, but these are the parts I know a bit about.