Quirk
Quirk copied to clipboard
A drag-and-drop quantum circuit simulator that runs in your browser. A toy for exploring and understanding small quantum circuits.
It's kinda silly having to make custom gates for this. Just have a gate that does nothing and has an editable text string.
Causes CPU usage to stay non-zero https://algassert.com/quirk#circuit=%7B%22cols%22%3A%5B%5B%7B%22id%22%3A%22Z%5Eft%22%2C%22arg%22%3A%22BAD%22%7D%2C%7B%22id%22%3A%22Z%5Eft%22%2C%22arg%22%3A%22BAD%22%7D%2C%7B%22id%22%3A%22Z%5Eft%22%2C%22arg%22%3A%22BAD%22%7D%2C%7B%22id%22%3A%22Z%5Eft%22%2C%22arg%22%3A%22BAD%22%7D%2C%7B%22id%22%3A%22Z%5Eft%22%2C%22arg%22%3A%22BAD%22%7D%2C%7B%22id%22%3A%22Z%5Eft%22%2C%22arg%22%3A%22BAD%22%7D%5D%5D%7D
[This circuit fails on my Lenovo laptop, but not on my spectre laptop](https://algassert.com/quirk#circuit={%22cols%22:[[%22H%22],[1,1,1,1,1,1,1,1,1,%22X%22],[%22%E2%80%A2%22,1,1,1,1,1,1,1,1,1,1,1,1,%22X%22],[1,1,1,1,1,1,1,1,1,1,1,1,1,%22Chance2%22]]}). All screenshots taken on the Lenovo laptop. Note inconsistency between the two qubit chance display and the...
Makes it clearer that quantum/classical values are being moved
Example: https://algassert.com/quirk#circuit=%7B%22cols%22%3A%5B%5B%22zpar%22%2C%22zpar%22%2C%22~14b2%22%5D%5D%2C%22gates%22%3A%5B%7B%22id%22%3A%22~14b2%22%2C%22circuit%22%3A%7B%22cols%22%3A%5B%5B%22zpar%22%2C%22zpar%22%2C%22X%22%5D%5D%7D%7D%5D%7D  ``` ERROR OBJECT Error: Exactly one parity bit must be in the inclusion mask Details: {"inclusionMask": 5, "parityMask": 15} ERROR LOCATION Error at new n (https://algassert.com/quirk:363:72014) at...
I have read about optimisation technics, when we have really big numbers of gates. I've read about 3D visualisation that leads to us e common steps which we should follow...
Example: https://algassert.com/quirk#circuit={"cols":[["X^t",{"id":"X^ft","arg":"t"}]]} 
Example: https://algassert.com/quirk#circuit={"cols":[["~54gr"]],"gates":[{"id":"~54gr","circuit":{"cols":[["ZDetector","XDetector"]]}}]}
As you can see [in this gif](https://i.stack.imgur.com/qceK3.gif), the descriptions of the parameterized gates on the right half are too small and not really visible. This looks like a bug. Could...
- Use CSS screen orientation queries to place example circuits below menu when in portrait mode - Try adding a viewport