Re:What makes quantum computing so hard to explain?
by krastanov on Wednesday June 09, 2021 @10:06PM
(#27455938)
I am just being annoyingly pedantic, but I do not think a Clifford circuit (both of your examples fall in this category) is a good quantum hello world, because they are trivial to simulate efficiently on a classical computer. But I do not have better suggestions.
Re:What makes quantum computing so hard to explain?
by chunky1994 on Wednesday June 09, 2021 @10:20PM
(#27456009)
I don't think a "hello world" type of program/circuitry(?) needs to be unique to a quantum computer. It just needs to be expressible with a quantum circuit.
Similar to how you can have hello world in both ruby and python, but arrive at them with different syntax and compilers.
Re:What makes quantum computing so hard to explain?
by Bjartr on Thursday June 10, 2021 @08:30AM
(#27459861)
And displaying "Hello World" can be done trivially with a pencil and paper. That doesn't make doing so in a classical programming language devoid of value.
Re:What makes quantum computing so hard to explain?
by krastanov on Thursday June 10, 2021 @12:58PM
(#27462875)
Sure, but there is value in a "Hello World" being focused on what is special about the hardware/language. Look at Haskell and OCaml tutorials for instance: they all explicitly say stuff like "let us start with the 'Hello World' of functional languages, namely, implementing the Fibonacci (or factorial) function recursively".
Others might say the “Bell pair” is the hello world, and that looks like this:
This is a bit harder to explain, because it requires understanding both superposition and entanglement.