r/AskComputerScience • • Nov 06 '18

Is there a "Hello world" program for quantum computers?

48 Upvotes

9 comments sorted by

11

u/Wubbalubbagaydub Nov 06 '18

I usually tested with an EPR state (Hadamard and controlled-not in circuit notation)

2

u/vassadar Nov 07 '18

How can I play with one?

2

u/FabianRo Feb 18 '19

Since nobody answered seriously yet: Not quite. Quantum computing is still in a stage of basic math operations and simple algorithms. You don't usually use it for text processing, like printing to console.

And I think that in the future, it will be used like a third kind of processor: CPU, GPU, quantum computing part. And you wouldn't ask if there's a "hello world" for GPU either.

You could probably use a quantum computer to do something to the text before you print it, but it wouldn't really be a useful thing to do.

2

u/psikosen Nov 07 '18

Hello world. Goodbye world.