Extensible, Efficient Quantum Algorithm Design for Humans.
Yao is an open source framework for
The package is registered. In Julia v0.6, you can use this command to install
In v0.7+/v1.0+, please type
] in the REPL to use the package mode, then type this command. Please notice that we might not be stable on v0.7+ at the moment.
pkg> add Yao
Comparing with state of art quantum simulators, our library is inspired by quantum circuit optimization. Variational quantum optimization algorithms like quantum circuit Born machine (QCBM), quantum approximate optimization algorithm (QAOA), variational quantum eigensolver (VQE) and quantum circuit learning (QCL) et. al. are promising killer apps on a near term quantum computers. These algorithms require the flexibility to tune parameters and have well defined patterns such as "Arbitrary Rotation Block" and "CNOT Entangler".
In Yao, we call these patterns "blocks". If we regard every gate or gate pattern as a "block", then the framework can
Thanks to Julia's duck type and multiple dispatch features, user can
Yao is a framework that is about to have the following features:
The whole framework is highly modularized, researchers can extend this framework for different purposes.
To contribute to this project, please open an issue first to discuss with us in case we may not accept your PR.
This project is an effort of QuantumBFS, an open source organization for quantum science. All the contributors are listed in the contributors.
Yao is released under the Apache 2 license.
3 days ago