The python codes and relevant files used in arXiv:2002.09935 are provided here.
The Qulacs simulator has to be first installed. The original implementation of the QCL algorithm is taken from Quantum Native Dojo (in Japanese) and then modified for this study.
- run_qulacs_loop.sh : shell script to run Qulacs python jobs
- qulacs_qcl.py : main python script
- qcl_classification.py : QCL implementation
- qcl_utils.py : utilities used in QCL
The qcl_classification.py and qcl_utils.py in Quantum Native Dojo are licensed under the BSD 3-Clause "New" or "Revised" License.
The IBM Qiskit framework has to be first installed. The VQC algorithm provided in the Qiskit Aqua framework is used. The VQC codes used with the IBM Q quantum machine and QASM simulator are provided separately.
- run_vqc_qc_loop.sh : shell script to run VQC on IBM Q machine
- vqc_qc.py : main python script to run on IBM Q machine
- run_vqc_sim_loop.sh : shell script to run VQC on QASM simulator
- vqc_sim.py : main python script to run on QASM simulator
- v1.0.0 : version used to arXiv:2002.09935 v1.0