Usage with Eclipse

  1. Install LSP4E

go to Help -> Install New Software enter in “Work with” URL https://download.eclipse.org/lsp4e/releases/latest/ select all items to install click Next

  1. create new project and add .qasm file into it

  2. In Project Explorer right click on .qasm file:

Debug As -> Debug Configurations select “Debug Adapter Launcher” on the left click on “New launch configuration” button on top

Type name for new launcher select “Connect to running Debug Server using the following arguments” Server Host: cryspprod3.quantag-it.com Server Port: 5555

Launch Parameters (JSON):

{
     "type": "qasm",
     "name": "Launch Quantum VM via DAP",
     "request": "launch",
     "program": "<your-flie-path>/file1.qasm",
     "env": {},
     "args": [],
     "dap": {
         "host": "cryspprod3.quantag-it.com",
         "port": 5555
     }
 }

Click Apply and Debug