Thoughtscript / x_team_quantum

Python and JS Quantum Computation examples!

Home Page:https://x-team.com/blog/quantum-computation-python-javascript/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

x_team_quantum

This repo contains the contents for the exploratory X-Team Quantum Computation article!

Setup and Installation

Tested using Python 3.6.x

To install dependencies into a Python virtual environment:

    $ python -m pip install --upgrade pip
    $ python -m venv ENV_QUANTUM
    $ source ENV_QUANTUM/Scripts/activate

Then, after activating the selected environment:

   $ python -m pip install -r requirements.txt

Our Angular 5 app leverages the ng-cli with these convenient scripts:

   $ npm install
   $ npm run build
   $ npm run start

Quantum Tests

Each example (JavaScript and Python) implements some of the most basic and most common Quantum operations:

  1. Pauli linear operators
  2. Fourier Transform
  3. Hadamard

For more information, please check out:

Quantum Computing - Jozef Gruska
Quantum Computing: Lecture Notes - Ronald de Wolf

And the fantastic official docs:

QISKit
jsqubits

Shout-outs

Brandon Smith
Joey Kyber
Puk Patrick

Licensing

MIT licensed! Free to use wherever, whenever!

About

Python and JS Quantum Computation examples!

https://x-team.com/blog/quantum-computation-python-javascript/


Languages

Language:TypeScript 55.3%Language:Python 33.9%Language:CSS 9.3%Language:HTML 1.5%