Stewart Smith

Results 30 comments of Stewart Smith

Hi @lehoangphu. Can you provide some more detail? This is specifically for Windows Mixed Reality controllers? And that means it’s also specific to Microsoft Edge?

Added the call-out latitude and longitude lines that follow the Bloch Vector surface point with this commit: https://github.com/stewdio/q.js/commit/73fb9e302684370627805409e68dc6a623803437 But those lines are super thin. Need to reassess solutions for thicker...

Created `Q.Qubit.toBlochSphere` with https://github.com/stewdio/q.js/commit/b9550ddb0bf239ead7b7cd6145d7a0e9864c4add But still do not have a `Q.Qubit.fromBlochSphere`. (Is this possible or is some phase information lost and therefore perfect conversion back is not possible?)

**Update**: This now really applies too [`Gate` documentation](https://quantumjavascript.app/Gate.html) rather than [`Matrix`](https://quantumjavascript.app/Matrix.html). See [https://quantumjavascript.app/Gate.html#Operations_with_2_%C3%97_2_matrices](https://quantumjavascript.app/Gate.html#Operations_with_2_%C3%97_2_matrices) for the list. All of these definitions need updates in general to reflect additions to how Gates...

@marwahaha I’m confused: Are you suggesting something that differs from the way `Q.ComplexNumber` has worked from the beginning? (To create a complex number, call `new Q.ComplexNumber( real, imaginary )`.) I’m...

👋 Hello, Tobias. The short answer is no—and this is because of entanglement. Once qubits are entangled there is no meaningful separation to be made between them; the state of...

This is great. Can you add variable declarations in your code? Something like: ``` const aReal = ( 0.5 + 0.5 * z ) ** 0.5, a = new Q.ComplexNumber(...

This is 90% resolved :smile: A user can now drag multi-register operations all around! Drag the whole thing. Drag part of it. Drag pieces within the same moment. Drag one...

Hi Philip :wave: I think I see what you’re saying, but let me be sure. I used Q’s [Playground page](https://quantumjavascript.app/playground.html) to input this: ``` X H H H ``` That...

👋 Hi, everyone! My apologies for radio silence on this repo for a span. Aside from **_the pandemic,_** work, and home life, I also put out a [fan-made music “video”...