Live data from Hacker News

Show HN: Quantum JavaScript

quantumjavascript.app

1–10 of 29 posts

Re: Show HN: Quantum JavaScript

#4

This looks really cool, though it goes way over my head. Is there an ELI5 somewhere that explains what this is?

It simulates a simple model of a quantum computer, so that you can implement and test out quantum algorithms, albeit at potentially huge computational cost.

quantum.country is a good introduction to quantum computing for people with no background other than linear algebra. Even if you don't understand linear algebra you could probably skim it and get a sense for what's going on.

Re: Show HN: Quantum JavaScript

#7

This looks really cool, though it goes way over my head. Is there an ELI5 somewhere that explains what this is?

I’ve begun to put together useful resources for learning more here: https://quantumjavascript.app/resources.html

I’d like to really flesh out that page; I’ve now come across so many folks that are amazing at explaining this stuff... It’s just a time crunch to juggle all this as you might imagine ;)

These two videos in particular helped me get started:

1. What is a physical quantum computer? https://www.youtube.com/watch?v=OWJCfOvochA

2. How might one compute using it? https://www.youtube.com/watch?v=F_Riqjdh2oM

Re: Show HN: Quantum JavaScript

#10
post #9

Thanks for sharing, this is very cool! Is there a way to add a second CNOT gate in the circuit by just dragging and dropping the pieces?

Certainly :) You can add as many CNOT gates as you’d like.

There are a few ways to do this in code, so you can pick the style that feels right for you / your particular case: https://quantumjavascript.app/#Quantum_JavaScript

But it’s also easy to make CNOTs in the visual editor. Here’s an animated GIF demonstrating it: https://quantumjavascript.app/tutorials.html#Create_controll...

And for further clarity, here’s a description of the relevant steps in that animated GIF: 1. Drag an Identity gate (the circle) onto your circuit board. 2. Drag a Pauli X gate (the X) onto the same moment (column) of your circuit board. 3. Select both (by tapping on them). 4. Tap on the "C" button to join them into a controlled gate.

Post reply on HN