All Projects → Strilanc → Quirk

Strilanc / Quirk

Licence: apache-2.0
A drag-and-drop quantum circuit simulator that runs in your browser. A toy for exploring and understanding small quantum circuits.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Quirk

Boolr
A digital logic simulator
Stars: ✭ 445 (-24.96%)
Mutual labels:  simulation
Openloco
An open source re-implementation of Chris Sawyer's Locomotion
Stars: ✭ 504 (-15.01%)
Mutual labels:  simulation
Renode
Renode - Antmicro's virtual development framework for complex embedded systems
Stars: ✭ 525 (-11.47%)
Mutual labels:  simulation
Qiskit Api Py
This repository and the qiskit-api-py package are deprecated, and no longer supported. A Python library for the Quantum Experience API
Stars: ✭ 458 (-22.77%)
Mutual labels:  quantum-computing
Awesome Robotics
A curated list of awesome links and software libraries that are useful for robots.
Stars: ✭ 478 (-19.39%)
Mutual labels:  simulation
Qiskit Aqua
Quantum Algorithms & Applications in Python
Stars: ✭ 514 (-13.32%)
Mutual labels:  quantum-computing
Sofa
Real-time multi-physics simulation with an emphasis on medical simulation.
Stars: ✭ 435 (-26.64%)
Mutual labels:  simulation
Cs Video Courses
List of Computer Science courses with video lectures.
Stars: ✭ 27,209 (+4488.36%)
Mutual labels:  quantum-computing
Neurokernel
Neurokernel Project
Stars: ✭ 491 (-17.2%)
Mutual labels:  simulation
Autopy
A simple, cross-platform GUI automation module for Python and Rust.
Stars: ✭ 522 (-11.97%)
Mutual labels:  simulation
Recsim
A Configurable Recommender Systems Simulation Platform
Stars: ✭ 461 (-22.26%)
Mutual labels:  simulation
D Zone
An ambient life simulation driven by user activity within a Discord server
Stars: ✭ 466 (-21.42%)
Mutual labels:  simulation
Yao.jl
Extensible, Efficient Quantum Algorithm Design for Humans.
Stars: ✭ 514 (-13.32%)
Mutual labels:  quantum-computing
Libmesh
libMesh github repository
Stars: ✭ 450 (-24.11%)
Mutual labels:  simulation
Quantumcomputing
This is an implementation of IBM's Quantum Experience in simulation; a 5-qubit quantum computer with a limited set of gates. Please cite me if you end up using this academically.
Stars: ✭ 534 (-9.95%)
Mutual labels:  quantum-computing
Unity Robotics Hub
Central repository for tools, tutorials, resources, and documentation for robotics simulation in Unity.
Stars: ✭ 439 (-25.97%)
Mutual labels:  simulation
Strawberryfields
Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
Stars: ✭ 505 (-14.84%)
Mutual labels:  quantum-computing
Openqasm
Gate and operation specification for quantum circuits
Stars: ✭ 582 (-1.85%)
Mutual labels:  quantum-computing
Naughtywaterbuoyancy
Water Buoyancy Simulation for Unity
Stars: ✭ 540 (-8.94%)
Mutual labels:  simulation
Space Nerds In Space
Multi-player spaceship bridge simulator. Captain your starship through adventures with your friends. See https://smcameron.github.io/space-nerds-in-space
Stars: ✭ 516 (-12.98%)
Mutual labels:  simulation

Quirk Icon

Build Status

Quirk is a toy quantum circuit simulator, intended to help people in learning about quantum computing.

If you want to quickly explore the behavior of a small quantum circuit, Quirk is the tool for you. There's no installing or configuring or scripting: just go to algassert.com/quirk, drag gates onto the circuit, and the output displays will update in real time.

(If you're still trying to understand what a quantum circuit even is, then I recommend the video series Quantum Computing for the Determined. Quirk assumes you already know background facts like "each wire represents a qubit".)

Defining features:

  • Runs in web browsers.
  • Drag-and-drop circuit editing.
  • Reacts, simulates, and animates in real time.
  • Inline state displays.
  • Bookmarkable / linkable circuits.
  • Up to 16 qubits.

Notable limitations:

Try it out:

algassert.com/quirk

Examples

Basic usage demo:

Demo

Grover search circuit with chance and sample displays (showing that the chance of success increases):

Grover search

Quantum teleportation circuit with Bloch sphere displays (showing that the qubit at the top has ended up at the bottom):

Quantum teleportation

Building

If you want to modify Quirk, this is how you get the code and turn your changes into working html/javascript.

  1. Have git and Node.js installed.

    sudo add-apt-repository universe

    sudo apt-get update

    sudo apt-get install --yes git npm nodejs-legacy

  2. Clone the repository.

    git clone https://github.com/Strilanc/Quirk.git

  3. Install the dev dependencies.

    cd Quirk

    npm install

  4. (Optional) Make your changes. Run the tests.

    npm run test-firefox

  5. Build the output.

    npm run build

  6. Confirm the output works by opening out/quirk.html with a web browser.

    firefox out/quirk.html

  7. Copy out/quirk.html to wherever you want.

Disclaimer

Quirk is not an official Google product.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].