package qcaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Experimental OCaml library for quantum computing simulation
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1.4.tar.gz
md5=cdda9603871a788171bcc9abfb09fd41
sha512=f6b7c88938fc772e9fc81066432d08333043cb02107dcb9593a73b1d04d84a968371cd07e3afb9d3d7d17729d9cfaa19b4ed1dd4b7bf05e0eb355a3b54d512e1
doc/CHANGELOG.html
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Later
- Phase gate (S)
- Rotation gates (Rx, Ry, Rz)
- Multi-qubit systems with tensor products
- Entangling gates (CNOT, Toffoli, SWAP)
- Circuit builder API
- QASM export functionality
0.1.3 - 2025-11-2
Changed
- Update dune version lower bound to 3.17
0.1.2 - 2025-11-2
Fixed
- Fixed a critical build failure on Windows/MinGW platforms caused by platform-specific OpenGL library naming differences.
0.1.1 - 2025-11-1
Fixed
- Y gate test
- Type error in apply_gate.ml line 8 - Qubit.print () q returns string but Printf.printf expects a format string
0.1.0 - 2025-10-29
Added
- Initial public release
- Single qubit state representation with complex amplitudes
- Qubit state constructors:
zero(),one(),plus(),minus() - Pauli gates: X, Y, Z
- Hadamard gate (H)
- Quantum measurement with probabilistic collapse
- Interactive Bloch sphere visualization using OpenGL/GLUT
- Complex number module with arithmetic operations
- Comprehensive test suite using Alcotest
- Example programs demonstrating library usage
- Apache 2.0 license
Known Limitations
- Single-qubit operations only (no multi-qubit support)
- Limited gate set
- No circuit builder API yet
- Bloch sphere visualization can be a little buggy
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page