Bloch is a strongly typed, compiled quantum programming language designed for hybrid classical-quantum computation. It combines classical control with OpenQASM-compatible quantum semantics, enabling intuitive yet powerful quantum algorithm development.
Bloch is designed to provide developers with intuitive syntax, robust tooling, and seamless compilation to OpenQASM for execution on real or simulated quantum hardware.
⚠ Note: docs are still under construction.
See /docs
for
- Grammar
- Standard library
- How the compiler works
- Example programs
⚠ Note: Bloch is still under active development. Usage instructions will be provided once the compiler reaches a runnable MVP.
- C++17-compatible compiler (e.g. GCC, Clang)
- CMake ≥ 3.15
- Git
Clone the repo:
git clone https://github.com/bloch-lang/bloch.git
cd bloch
mkdir build
cd build
cmake ..
make
cd build
cmake ..
make
ctest
Bloch is an open-source project and we welcome contributions! Please see CONTRIBUTING.md for guidelines on how to get involved.
This project is open-source under the Apache 2.0 License. See LICENSE for details.