APS Logo

Extending Modern C++ for Heterogeneous Quantum-Classical Computing

ORAL

Abstract


Software frameworks for quantum computing have progressed significantly over the past few years. Most approaches have put forward vendor-specific frameworks leveraging high-level languages like Python. As quantum hardware improves, we expect that these high-level approaches will detract from overall performance gains garnered from quantum computation. Tighter integration models will require low-level, system software and compilers extending commonly-used languages. We present QCOR, a C++ language extension specification with an associated compiler that enables the programming of quantum expressions alongside standard C++ in a single-source context. Our specification puts forward abstractions and concepts that are common to typical quantum-classical algorithmic workflows. We implement this language extension via light-weight extensions to Clang and build off the system-level, quantum-classical XACC framework. Our approach represents the state-of-the-art with regards to enabling quantum programming alongside standard languages leveraged in existing high-performance domain scientific computing.

Presenters

  • Alexander McCaskey

    Oak Ridge National Lab

Authors

  • Alexander McCaskey

    Oak Ridge National Lab

  • Eugen Dumitrescu

    Oak Ridge National Lab

  • Pavel Lougovski

    Computational Sciences and Engineering Division, Oak Ridge National Laboratory, Oak Ridge National Lab

  • Sarah Powers

    Oak Ridge National Lab

  • Shirley Moore

    Oak Ridge National Lab

  • Tiffany Mintz

    Oak Ridge National Lab