This is QSCore repository (Quantag Studio Core). Cross platform unit which combines quantum virtual machine - currently supported QPP and implementation of Microsoft Debugger Adapter Protocol distributed under MIT license.
It allows to debug quantum circuits from any IDE which supports DAP written in OpenQASM or Python (currently supported Qiskit and PyTKET frameworks)
VS Code Extension which works with QSCode can be downloaded directly from VS Code here
sudo apt-get install git cmake build-essential libcurl4-gnutls-dev
Here is single line download-and-build command
git clone https://github.com/quantag/qdb-qscore.git && cd qdb-qscore && ./get_deps.sh && cd build && cmake .. && make
To start QSCore in default server mode just execute it without command line arguments
./QSCore
To measure performace execute it with 'test':
./QSCore test [<folder with .qasm files>] [<output file name>]
It will excute .qasm files from specified folder one by one and write executions times to JSON file with CPU information. If data folder not specified '../test/qasm' will be used. If output file name not specified 'results.json' used.
Optionally QSCore can be configured by creation of QSCore.ini file in same folder with binary. It is text file with 'key'='value' parameters per line like java .properties files. Following parameters are supported:
render.circuit=0|1 (default is 1)
Should OpenQASM circuit be rendered to image during parsing or not.
demo.file
Location of demo .qasm file to use if provided file is not found
source.folder (default /var/dap)
Where to search for source files on server