Hacker Newsnew | past | comments | ask | show | jobs | submit | qubots's commentslogin

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.


> It might be better to consume all news in small daily doses rather than blocking out potentially critical information.

I'd rather read the one news app on my phone - which basically covers everything of what's interesting about the pandemic - than trying to consume all news but ending up reading the same thing on every social platform. This add-on could be a solution to this.


sounds like everyone forgot what an RSS reader is already. that was fast...


> Physics is an experimental science, based on observation of nature.

I strongly disagree with this. In my first undergrad QM course I barely learnt anything about experiments. Experiments are quite important, but they are just side notes to the real thing.

Experiments are a way to check whether certain theories make sense, but not all theories. Many concepts have been proven mathematically, but have not yet been tested through experiments. Does that mean that theories are not part of physics? How do we know how elementary particles behave on a scale so small that we can’t observe their behaviour?

When we’re not able to acquire data, what's left for us is to construct new theories purely based on mathematics. Physics does not end where we can’t do observations, it actually starts exactly there.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: