This is a Jupyter notebook plugin for graphically editing HiQ programs.
- Clone repository and go inside
- Run
python ./setup.py install --user
- Run
python ./setup.py develop --user
from qcircuit import QCircuit, Classic, Qubit, Qureg
n_qubits = 4
circuit_obj = QCircuit(qncilla=Qubit, c_in=Classic, qreg=(n_qubits, ))
circuit_obj
Using mouse draw any circuit schema with UI
Try to change circuit parameters order or add/delete some or change QuReg size to see updated circuit