Qcor
C++ compiler for heterogeneous quantum-classical computing built on Clang and XACC
Install / Use
/learn @qir-alliance/QcorREADME
QCOR
QCOR is a C++ language extension and associated compiler implementation for hybrid quantum-classical programming.
Documentation
Installation
To install the qcor nightly binaries (for Mac OS X and Linux x86_64) run the following command from your terminal
/bin/bash -c "$(curl -fsSL https://aide-qc.github.io/deploy/install.sh)"
To use the Python API, be sure to set your PYTHONPATH.
For more details, see the full installation documentation page.
Docker Images
Nightly docker images are also available that serve up a VSCode IDE on port 8080. To use this image, run
docker run -it -p 8080:8080 qcor/qcor
and navigate to https://localhost:8080 in your browser to open the IDE and get started with QCOR.
Alternatively, you could use the qcor/cli image providing simple command-line access to the qcor compiler.
docker run -it qcor/cli
Cite QCOR
If you use qcor in your research, please use the following citation
@ARTICLE{qcor,
author = {{Nguyen}, Thien and {Santana}, Anthony and {Kharazi}, Tyler and
{Claudino}, Daniel and {Finkel}, Hal and {McCaskey}, Alexander},
title = "{Extending C++ for Heterogeneous Quantum-Classical Computing}",
journal = {arXiv e-prints},
keywords = {Quantum Physics, Computer Science - Mathematical Software},
year = 2020,
month = oct,
eid = {arXiv:2010.03935},
pages = {arXiv:2010.03935},
archivePrefix = {arXiv},
eprint = {2010.03935},
primaryClass = {quant-ph},
adsurl = {https://ui.adsabs.harvard.edu/abs/2020arXiv201003935N},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
Feedback
If you have feedback about the content in this repository, please let us know by filing a new issue!
Contributing
There are many ways in which you can contribute to QCOR, whether by contributing a feature or by engaging in discussions; we value contributions in all shapes and sizes! We refer to this document for guidelines and ideas for how you can get involved.
Contributing a pull request to this repo requires to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. We are still working on setting up a suitable CLA-bot to automate this process. A CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately. Once it is set up, simply follow the instructions provided by the bot. You will only need to do this once.
Code of Conduct
This project has adopted the community covenant Code of Conduct. Please contact qiralliance@mail.com for Code of Conduct issues or inquires.
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
