xacc

所属分类:前端开发
开发工具:C++
文件大小:32358KB
下载次数:0
上传日期:2023-05-22 02:12:42
上 传 者sh-1993
说明:  XACC-超大规模加速器编程框架
(XACC - eXtreme-scale Accelerator programming framework)

文件列表:
.Rhistory (0, 2023-06-27)
.clang-format (2642, 2023-06-27)
.clang-format-ignore (10, 2023-06-27)
CMakeLists.txt (13965, 2023-06-27)
CONTRIBUTING.md (2239, 2023-06-27)
LICENSE.EDL (1555, 2023-06-27)
LICENSE.EPL (11232, 2023-06-27)
NOTICE (1613, 2023-06-27)
VERSION (7, 2023-06-27)
cmake (0, 2023-06-27)
cmake\Modules (0, 2023-06-27)
cmake\Modules\FindLibunwind.cmake (3505, 2023-06-27)
cmake\Modules\FindZ3.cmake (2514, 2023-06-27)
cmake\Modules\cxxFlags.cmake (339, 2023-06-27)
cmake\Modules\format.cmake (1270, 2023-06-27)
cmake\Modules\tests.cmake (4845, 2023-06-27)
cmake\xacc-config.cmake.in (7465, 2023-06-27)
cmake\xacc_config.hpp.in (447, 2023-06-27)
docker (0, 2023-06-27)
docker\base (0, 2023-06-27)
docker\base\.vimrc (287, 2023-06-27)
docker\base\Dockerfile (1294, 2023-06-27)
... ...

![XACC](https://github.com/eclipse/xacc/blob/master/docs/assets/xacc_full_logo.svg) | Branch | Status | |:-------|:-------| |master | [![Linux CI](https://github.com/eclipse/xacc/blob/master/https://github.com/eclipse/xacc/actions/workflows/ci-linux.yml/badge.svg?branch=master)](https://github.com/eclipse/xacc/blob/master/https://github.com/eclipse/xacc/actions/workflows/ci-linux.yml) [![Mac CI](https://github.com/eclipse/xacc/blob/master/https://github.com/eclipse/xacc/actions/workflows/ci-mac.yml/badge.svg?branch=master)](https://github.com/eclipse/xacc/blob/master/https://github.com/eclipse/xacc/actions/workflows/ci-mac.yml) | |devel | [![Linux CI](https://github.com/eclipse/xacc/blob/master/https://github.com/eclipse/xacc/actions/workflows/ci-linux.yml/badge.svg?branch=xacc-devel)](https://github.com/eclipse/xacc/blob/master/https://github.com/eclipse/xacc/actions/workflows/ci-linux.yml) [![Mac CI](https://github.com/eclipse/xacc/blob/master/https://github.com/eclipse/xacc/actions/workflows/ci-mac.yml/badge.svg?branch=xacc-devel)](https://github.com/eclipse/xacc/blob/master/https://github.com/eclipse/xacc/actions/workflows/ci-mac.yml)| ## Language and Hardware Independent Quantum Programming Framework XACC is an extensible compilation framework for hybrid quantum-classical computing architectures. It provides extensible language frontend and hardware backend compilation components glued together via a novel quantum intermediate representation. XACC currently supports quantum-classical programming and enables the execution of quantum kernels on IBM, Rigetti, and D-Wave QPUs, as well as a number of quantum computer simulators. Documentation ------------- * [Website and Documentation](https://github.com/eclipse/xacc/blob/master/https://xacc.readthedocs.io) * [API Documentation](https://github.com/eclipse/xacc/blob/master/https://ornl-qci.github.io/xacc-api-docs/) Quick Start ----------- Click [![Gitpod Ready-to-Code](https://github.com/eclipse/xacc/blob/master/https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://github.com/eclipse/xacc/blob/master/https://gitpod.io/#https://github.com/eclipse/xacc) to open up a pre-configured Eclipse Theia IDE. You should immediately be able to run any of the C++ or Python examples from the included terminal: ```bash [example C++ executables are in build/quantum/examples/*] $ build/quantum/examples/qasm/deuteron_from_qasm [example Python scripts are in python/examples/*] $ python3 python/examples/deuteronH2.py [run some XACC benchmarks] $ python3 -m xacc --benchmark python/benchmark/chemistry/benchmarks/nah_ucc1.ini ``` All code is here and you can quickly start developing. We recommend turning on file auto-save by clicking ``File > Auto Save ``. Note the Gitpod free account provides 100 hours of use for the month, so if you foresee needing more time, we recommend our nightly docker images. The XACC nightly docker images also serve an [Eclipse Theia IDE](https://github.com/eclipse/xacc/blob/master/https://theia-ide.org/) on port 3000. To get started, run ```bash $ docker run --security-opt seccomp=unconfined --init -it -p 3000:3000 ghcr.io/eclipse/xacc/xacc:latest ``` Navigate to ``https://localhost:3000`` in your browser to open the IDE and get started with XACC. Build from Source ----------------- Full installation details can be followed [here](https://github.com/eclipse/xacc/blob/master/https://xacc.readthedocs.io/en/latest/install.html). Ensure that you have installed CMake 3.12+, a C++17 compliant compiler (GCC 8+, Clang 5+), and CURL development headers and libraries with OpenSSL support (see [prerequisites](https://github.com/eclipse/xacc/blob/master/http://xacc.readthedocs.io/en/latest/install.html#pre-requisites)). It is also recommended (though optional) that you install BLAS and LAPACK development libraries (for various simulators), Python 3 development headers (for the Python API), and Libunwind (for stack trace printing). To enable XACC Python support, ensure that `python3` is set to your desired version of Python 3. CMake will find the corresponding development headers. Ensure that when you try to run XACC-enabled Python scripts you are using the same `python3` executable that was set during your build. Clone the repository recursively, configure with `cmake` and build with `make` ```bash $ git clone https://github.com/eclipse/xacc $ cd xacc && mkdir build && cd build [default cmake call] $ cmake .. [with tests and examples] $ cmake .. -DXACC_BUILD_EXAMPLES=TRUE -DXACC_BUILD_TESTS=TRUE [now build xacc] $ make install [for a speedier build on linux] $ make -j$(nproc --all) install [and on mac os x] $ make -j$(sysctl -n hw.physicalcpu) install [if built with tests, run them] $ ctest --output-on-failure ``` CMake options: * `XACC_DEPS_EXTERNAL`: [Optional, default = `OFF`] XACC to search externally for its third-party dependencies. When turning on, XACC will try to use `find_package` to locate its required dependencies before falling back to using the builtin submodules in `tpls`. **Note**: when turning on this flag, it is your responsibility to manage the compatibility of those `tpls`. For example, XACC compilation may fail if the externally-installed library version is incompatible with the builtin one. See full documentation for all CMake optional arguments. Your installation will be in `$HOME/.xacc`. If you built with the Python API, be sure to update your `PYTHONPATH` environment variable to point to the installation: ```bash $ export PYTHONPATH=$PYTHONPATH:$HOME/.xacc ``` You will probably want the XACC default simulator, TNQVM. To install, run the following: ```bash $ git clone https://github.com/ornl-qci/tnqvm $ cd tnqvm && mkdir build && cd build $ cmake .. -DXACC_DIR=~/.xacc $ make install ``` Questions, Bug Reporting, and Issue Tracking -------------------------------------------- Questions, bug reporting and issue tracking are provided by GitHub. Please report all bugs by creating a new issue with the bug tag. You can ask questions by creating a new issue with the question tag. License ------- XACC is dual licensed - [Eclipse Public License](https://github.com/eclipse/xacc/blob/master/LICENSE.EPL) and [Eclipse Distribution License](https://github.com/eclipse/xacc/blob/master/LICENSE.EDL). Cite XACC ---------- If you use XACC in your research, please use the following citation ``` @article{xacc_2020, doi = {10.1088/2058-9565/ab6bf6}, url = {https://doi.org/10.1088%2F2058-9565%2Fab6bf6}, year = 2020, month = {feb}, publisher = {{IOP} Publishing}, volume = {5}, number = {2}, pages = {024002}, author = {Alexander J McCaskey and Dmitry I Lyakh and Eugene F Dumitrescu and Sarah S Powers and Travis S Humble}, title = {{XACC}: a system-level software infrastructure for heterogeneous quantum{\textendash}classical computing}, journal = {Quantum Science and Technology} } ```

近期下载者

相关文件


收藏者