Advancing Integrated Development Environments for Quantum Computing

AIDE-QC Software Stack

AIDE-QC is a next-generation software stack enabling heterogeneous quantum-classical programming, compilation, and execution on both near-term and future fault-tolerant quantum computers. Our approach treats quantum computers as novel co-processors and puts forward C++ and Pythonic programming models for quantum code expression and compilation to native backend gate sets.

The AIDE-QC project decomposes the stack research and development into Programming, Compiler, Verification and Validation, Error Mitigation, Optimization, and Software Integration thrusts. The union of these efforts represents the development of a holistic software ecosystem that enables an extensible and modular approach to the quantum-classical programming workflow.

AIDE-QC builds upon the service-oriented XACC quantum programming framework and puts forward service interfaces or plugins for quantum language parsing, intermediate representations, transformations on compiled circuits, error mitigation strategies, and backend execution and emulation, to name a few. These plugin interfaces enable the AIDE-QC to remain flexible as the quantum computing research landscape grows and advances. On top of that, AIDE-QC puts forward a novel C++ compiler for heterogeneous quantum-classical computing, QCOR .

Below we give a quick demonstration of how a simple quantum-classical Hello World code (preparing a Bell state on 2 qubits) can be programmed using AIDE-QC in both C++ and Python:

Quantum Hello World - C++Quantum Hello World - Python
__qpu__ void bell(qreg q) {
    CX(q[0], q[1]);
    for (int i : range(q.size())) {
int main() {
    auto q = qalloc(2);
    auto counts = q.counts();
    for (auto [bits, count] : counts) {
        print(bits, ":", count);
qcor -qpu ibm:ibmq_vigo -shots 8192 bell.cpp
from qcor import *

def bell(q : qreg):
    CX(q[0], q[1])
    for i in range(q.size()):

q = qalloc(2)
counts = q.counts()
for bits, count : counts.items():
    print(bits, ':', count)

python3 -qpu tnqvm -shots 1024

To start using the AIDE-QC quantum-classical software stack, head over to Getting Started