/bloch

Primary LanguageJavaScriptMIT LicenseMIT

Bloch Sphere

Demo

Github

Layout

Three js setup in src/entry.js. Important code and equations in src/objects/BlochVector.js. Sphere constructed in src/objects/BlochSphere.js. Gates declared in src/objects/Scene.js.

Instructions

You can run on a machine by going into directory and running:

npm install
npm start