Skip to content

euler16/Qu.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qu.js

Quantum Computing for Humans!

...

Qu.js is a JavaScript first Quantum Computing framework.

Motivation

Currently the Quantum Computing environment, though in its nascent stage, is dominated by 2 Python based Quantum Computing frameworks Qiskit and PyQuil developed by IBM and Rigetti respectively. These libraries are in turn high-level versions of Assembly like languages QASM (Qiskit) and Quil (PyQuil) which enable users to run their Quantum programs on actual Quantum Computers being developed by these companies.
Qu.js aims to be a common JavaScript frontend that allows developers to write backend agnostic Quantum Programs. In this sense, the motive behind Qu.js is similar to Keras in Machine Learning.

Moreover I developed this library in order to understand the basics of Quantum Computing properly :).

Functionality

Currently Qu.js provides (or aims to provide) the following functionalities:

  • A local Quantum Simulator that can run on browser as well as Node.js
  • Compilation of JS code into QASM and Quil
  • Circuit Visualization
  • Saving and Loading Circuit
  • QASM to Quil
  • A Twitter based interface (working on it :) )
  • Support Cirq backend (another Quantum Computing Library)