Giter Site home page Giter Site logo

fuyongfan / qcompute Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baidu/qcompute

0.0 0.0 0.0 28.79 MB

QCompute is a Python-based quantum software development kit (SDK). It provides a full-stack programming experience for advanced users via hybrid quantum programming language features and a high-performance simulator.

License: Other

Python 100.00%

qcompute's Introduction

QCompute

Quantum Leaf (量易伏) is a Cloud-Native quantum computing platform developed by the Institute for Quantum Computing, Baidu. It is used for programming, simulating and executing quantum computers, aiming at providing the quantum programming environment for Quantum infrastructure as a Service (QaaS).

QCompute is a Python-based open-source SDK. It provides a full-stack programming experience for advanced users via the features of hybrid quantum programming language and a high-performance simulator. Users can use the already-built objects and modules of quantum programming environment, pass parameters to build and execute the quantum circuits on the local simulator or the cloud simulator/hardware.

QCompute provides services for creating and analyzing quantum circuits, and calling quantum backend. The architecture of Quantum Leaf including QCompute is shown in the figure below.

In particular, cloud service requires login at Quantum-hub. The token, large-scale results and more information can be found from the website.

Getting Started

Use one-step live setup

pip install qcompute

Or use local setup

pip install -e .

Then, config the python interpreter to execute examples.

Please prepare Python environment and Pip tool. Be careful about different path separators on operating systems. At present, Python 3.6-3.8 versions are compatible.

Running the tests

python -m QCompute.Test.PostInstall.PostInstall

Please test on a local simulator first, and then fill in your token of Quantum-hub to test on a cloud simulator.

Development

  1. QCompute SDK contains quantum toolkits, simulators, examples and docs. If concerned with quantum toolkits, e.g., the QCompute subfolder, you are highly suggested using 'local setup' process to ensure that any development could be reflected in the executing process.
  2. Most researchers who only work on the quantum applications (examples) are suggested to use one-step live setup. In this case, the local modification of QCompute would NOT be reflected in the executing process. However, the modification on the subfolder, Example, would be still valid.

Contributing

Coding requirements:

  1. Be familiar with quantum circuit model. Any pull should be tested first and then submitted. Be careful about the order of qubits.
  2. Please comply with development specifications of relevant programming languages.

Discussion

  1. If any questions, advices, suggestions, please contact us via Email: [email protected] ;
  2. Or, you can use internal feedback table in Quantum-hub to provide any feedbacks;
  3. Or, you are also welcomed to join our discussion QQ group: QQ Group Number:1147781135

Maintainers & Authors

Institute for Quantum Computing, Baidu.

Changelog

The changelog of this project can be found in CHANGELOG.md.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details

qcompute's People

Contributors

quleaf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.