/bloch-sphere-simulator

A simple web based Bloch sphere simulator, intended to help people to understand and visualize transition of single qubit state on applying different Quantum logic gates.

Primary LanguageJavaScriptMIT LicenseMIT

Build Status Code Coverage

A simple web based Bloch sphere simulator, intended to help people to understand and visualize transition of single qubit state on applying different Quantum logic gates.

There is no installation required, just go to https://bits-and-electrons.github.io/bloch-sphere-simulator/.

Browser Compatibility

Bloch sphere model is rendered using WebGL. It is well supported in all modern browsers.

Google Chrome 9+, Firefox 4+, Opera 15+, Safari 5.1+, Internet Explorer 11 and Microsoft Edge are known to support WebGL. Complete list can be found at Can I use WebGL?

Development

Prerequisite to install Git and NodeJS in your machine

Clone the repository

git clone https://github.com/bits-and-electrons/bloch-sphere-simulator

Install dependencies

npm install

Test your changes locally

npm test

Libraries Used