Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.

A Jupyter notebook plugin for editing HiQ programs graphically.

License

Notifications You must be signed in to change notification settings

MindQuantum-HiQ/hiq-jupyter

Repository files navigation

hiq-jupyter Plug-in

This is a Jupyter notebook plugin for graphically editing HiQ programs.

Installation

  1. Clone repository and go inside
  2. Run python ./setup.py install --user
  3. Run python ./setup.py develop --user

Usage

from qcircuit import QCircuit, Classic, Qubit, Qureg
n_qubits = 4
circuit_obj = QCircuit(qncilla=Qubit, c_in=Classic, qreg=(n_qubits, ))
circuit_obj

Jupyter HiQ Plug-in inited

Using mouse draw any circuit schema with UI

Jupyter HiQ Plug-in example

Try to change circuit parameters order or add/delete some or change QuReg size to see updated circuit

Jupyter HiQ Plug-in example

About

A Jupyter notebook plugin for editing HiQ programs graphically.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •