Skip to content

attila-kun/bloch

Repository files navigation

Demo: https://attilakun.net/bloch

What is this?

This a Bloch sphere simulator. It allows you to enter arbitrary 2x2 matrices and see their effect on the quantum state.

Requirements to run the project

The project uses Node.js for its build. At the time of writing, the project was confirmed to work with v14.15.1 of Node.js but other versions might be appropriate too. If you want to run multiple different versions of Node.js on your machine, then you might find nvm useful.

Running the project

  1. Check the repo out
  2. Run npm install
  3. Run npm run start

Running the tests

Run npm run test