<p align="center">
<a href="https://pennylane.ai">
<img width=80% src="https://raw.githubusercontent.com/PennyLaneAI/pennylane/master/doc/_static/pennylane_thin.png">
</a>
</p>
<p align="center">
<!-- Tests (GitHub actions) -->
<a href="https://github.com/PennyLaneAI/pennylane/actions?query=workflow%3ATests">
<img src="https://img.shields.io/github/workflow/status/PennyLaneAI/pennylane/Tests/master?logo=github&style=flat-square" />
</a>
<!-- CodeCov -->
<a href="https://codecov.io/gh/PennyLaneAI/pennylane">
<img src="https://img.shields.io/codecov/c/github/PennyLaneAI/pennylane/master.svg?logo=codecov&style=flat-square" />
</a>
<!-- ReadTheDocs -->
<a href="https://pennylane.readthedocs.io">
<img src="https://img.shields.io/readthedocs/pennylane.svg?logo=read-the-docs&style=flat-square" />
</a>
<!-- PyPI -->
<a href="https://pypi.org/project/PennyLane">
<img src="https://img.shields.io/pypi/v/PennyLane.svg?style=flat-square" />
</a>
<!-- Forum -->
<a href="https://discuss.pennylane.ai">
<img src="https://img.shields.io/discourse/https/discuss.pennylane.ai/posts.svg?logo=discourse&style=flat-square" />
</a>
<!-- License -->
<a href="https://www.apache.org/licenses/LICENSE-2.0">
<img src="https://img.shields.io/pypi/l/PennyLane.svg?logo=apache&style=flat-square" />
</a>
</p>
<p align="center">
<a href="https://pennylane.ai">PennyLane</a> is a cross-platform Python library for <a
href="https://en.wikipedia.org/wiki/Differentiable_programming">differentiable
programming</a> of quantum computers.
</p>
<p align="center">
<strong>Train a quantum computer the same way as a neural network.</strong>
<img src="https://raw.githubusercontent.com/PennyLaneAI/pennylane/master/doc/_static/header.png" width="700px">
</p>
## Key Features
<img src="https://raw.githubusercontent.com/PennyLaneAI/pennylane/master/doc/_static/code.png" width="400px" align="right">
- *Machine learning on quantum hardware*. Connect to quantum hardware using **PyTorch**, **TensorFlow**, **JAX**, **Keras**, or **NumPy**. Build rich and flexible hybrid quantum-classical models.
- *Device independent*. Run the same quantum circuit on different quantum backends. Install
[plugins](https://pennylane.ai/plugins.html) to access even more devices, including **Strawberry
Fields**, **Amazon Braket**, **IBM Q**, **Google Cirq**, **Rigetti Forest**, **Qulacs**, **Pasqal**, **Honeywell**, and more.
- *Follow the gradient*. Hardware-friendly **automatic differentiation** of quantum circuits.
- *Batteries included*. Built-in tools for **quantum machine learning**, **optimization**, and
**quantum chemistry**. Rapidly prototype using built-in quantum simulators with
backpropagation support.
## Installation
PennyLane requires Python version 3.7 and above. Installation of PennyLane, as well as all
dependencies, can be done using pip:
```console
python -m pip install pennylane
```
## Docker support
**Docker** support exists for building using **CPU** and **GPU** (Nvidia CUDA
11.1+) images. [See a more detailed description
here](https://pennylane.readthedocs.io/en/stable/development/guide/installation.html#installation).
## Getting started
For an introduction to quantum machine learning, guides and resources are available on
PennyLane's [quantum machine learning hub](https://pennylane.ai/qml/):
<img src="https://raw.githubusercontent.com/PennyLaneAI/pennylane/master/doc/_static/readme/gpu_to_qpu.png" align="right" width="400px">
* [What is quantum machine learning?](https://pennylane.ai/qml/whatisqml.html)
* [QML tutorials and demos](https://pennylane.ai/qml/demonstrations.html)
* [Frequently asked questions](https://pennylane.ai/faq.html)
* [Key concepts of QML](https://pennylane.ai/qml/glossary.html)
* [QML videos](https://pennylane.ai/qml/videos.html)
You can also check out our [documentation](https://pennylane.readthedocs.io) for [quickstart
guides](https://pennylane.readthedocs.io/en/stable/introduction/pennylane.html) to using PennyLane,
and detailed developer guides on [how to write your
own](https://pennylane.readthedocs.io/en/stable/development/plugins.html) PennyLane-compatible
quantum device.
## Tutorials and demonstrations
Take a deeper dive into quantum machine learning by exploring cutting-edge algorithms on our [demonstrations
page](https://pennylane.ai/qml/demonstrations.html).
<a href="https://pennylane.ai/qml/demonstrations.html">
<img src="https://raw.githubusercontent.com/PennyLaneAI/pennylane/master/doc/_static/readme/demos.png" width="900px">
</a>
All demonstrations are fully executable, and can be downloaded as Jupyter notebooks and Python
scripts.
If you would like to contribute your own demo, see our [demo submission
guide](https://pennylane.ai/qml/demos_submission.html).
## Contributing to PennyLane
We welcome contributions—simply fork the PennyLane repository, and then make a [pull
request](https://help.github.com/articles/about-pull-requests/) containing your contribution. All
contributors to PennyLane will be listed as authors on the releases. All users who contribute
significantly to the code (new plugins, new functionality, etc.) will be listed on the PennyLane
arXiv paper.
We also encourage bug reports, suggestions for new features and enhancements, and even links to cool
projects or applications built on PennyLane.
See our [contributions
page](https://github.com/PennyLaneAI/pennylane/blob/master/.github/CONTRIBUTING.md) and our
[developer hub](https://pennylane.readthedocs.io/en/stable/development/guide.html) for more
details.
## Support
- **Source Code:** https://github.com/PennyLaneAI/pennylane
- **Issue Tracker:** https://github.com/PennyLaneAI/pennylane/issues
If you are having issues, please let us know by posting the issue on our GitHub issue tracker.
We also have a [PennyLane discussion forum](https://discuss.pennylane.ai)—come join the community
and chat with the PennyLane team.
Note that we are committed to providing a friendly, safe, and welcoming environment for all.
Please read and respect the [Code of Conduct](.github/CODE_OF_CONDUCT.md).
## Authors
PennyLane is the work of [many contributors](https://github.com/PennyLaneAI/pennylane/graphs/contributors).
If you are doing research using PennyLane, please cite [our paper](https://arxiv.org/abs/1811.04968):
> Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, M. Sohaib Alam, Shahnawaz Ahmed,
> Juan Miguel Arrazola, Carsten Blank, Alain Delgado, Soran Jahangiri, Keri McKiernan, Johannes Jakob Meyer,
> Zeyue Niu, Antal Száva, and Nathan Killoran.
> *PennyLane: Automatic differentiation of hybrid quantum-classical computations.* 2018. arXiv:1811.04968
## License
PennyLane is **free** and **open source**, released under the Apache License, Version 2.0.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共294个文件
py:277个
txt:6个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:PennyLane-0.22.0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | PennyLane-0.22.0.tar.gz (294个子文件)
setup.cfg 38B
MANIFEST.in 112B
pytest.ini 224B
pytest.ini 101B
LICENSE 11KB
Makefile 792B
README.md 7KB
PKG-INFO 8KB
PKG-INFO 8KB
operation.py 89KB
parametric_ops.py 82KB
test_qaoa.py 73KB
test_operation.py 71KB
qcut.py 62KB
non_parametric_ops.py 61KB
qnode_old.py 51KB
test_qnode.py 51KB
tape.py 49KB
cv.py 47KB
test_measurements.py 46KB
test_qubit_device.py 40KB
test_vqe.py 40KB
commutation_dag.py 38KB
_device.py 38KB
test_measurements.py 38KB
_qubit_device.py 38KB
qchem_ops.py 37KB
test_device.py 35KB
jacobian_tape.py 34KB
rotosolve.py 31KB
default_qubit.py 31KB
reconstruct.py 30KB
integrals.py 30KB
parameter_shift_cv.py 30KB
test_quantum_gradients.py 29KB
metric_tensor.py 29KB
channel.py 29KB
mpldrawer.py 29KB
utils.py 28KB
default_gaussian.py 27KB
cost.py 27KB
multi_dispatch.py 27KB
circuit_graph.py 26KB
parameter_shift.py 26KB
visualize.py 26KB
qnode.py 26KB
two_qubit_unitary.py 25KB
test_optimize_shot_adapative.py 24KB
hamiltonian.py 24KB
test_utils.py 23KB
measurements.py 23KB
tapering.py 23KB
cycle.py 23KB
test_gates.py 22KB
cv_param_shift.py 22KB
shot_adaptive.py 22KB
qnode_spectrum.py 21KB
draw.py 21KB
fermionic_double_excitation.py 21KB
_grad.py 20KB
qubit_param_shift.py 20KB
default_mixed.py 20KB
op_transforms.py 19KB
broadcast.py 19KB
representation_resolver.py 18KB
batch_transform.py 18KB
test_queuing.py 18KB
single_dispatch.py 17KB
test_tensor_measurements.py 17KB
__init__.py 17KB
circuit_drawer.py 17KB
matrix_ops.py 16KB
hamiltonian.py 16KB
test_qubit_device_adjoint_jacobian.py 16KB
wires.py 16KB
observables.py 15KB
finite_difference.py 15KB
keras.py 15KB
test_prob.py 15KB
qfunc_transforms.py 15KB
param_shift_hessian.py 15KB
qmc.py 14KB
qmc.py 14KB
lie_algebra.py 14KB
mottonen.py 14KB
is_independent.py 14KB
utils.py 14KB
vjp.py 13KB
tape_text.py 13KB
__init__.py 13KB
general_shift_rules.py 13KB
qng.py 13KB
interferometer.py 13KB
jax.py 13KB
gradient_transform.py 13KB
gate_data.py 13KB
pauli.py 13KB
test_wires.py 13KB
tape_expand.py 12KB
utils.py 12KB
共 294 条
- 1
- 2
- 3
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功