qcamlversion Documentation on ocaml.org

OCaml library for quantum computing simulation

QCaml is a lightweight OCaml library for simulating quantum algorithms. It provides n-qubit registers, quantum gates and measurements for learning quantum computing concepts and visualizing qubit states on the Bloch sphere.

Features:

  • N-qubit state registers with complex amplitudes
  • Quantum gates (Pauli-X/Y/Z, Hadamard, Rx, Ry, Rz, CNOT)
  • Quantum measurements with probabilistic collapse and renormalization
  • Interactive Bloch sphere visualization using Raylib
  • Comprehensive test suite
Tags quantum computing simulation qubits gates visualization bloch-sphere
AuthorElias GAUTHIER
LicenseApache-2.0
Published
Homepagehttps://github.com/elias-utf8/qcaml
Issue Trackerhttps://github.com/elias-utf8/qcaml/issues
Maintainerelias.gauthier@etu.u-bordeaux.fr
Dependencies
Source [http] https://github.com/elias-utf8/qcaml/archive/refs/tags/v1.0.0.tar.gz
md5=9a6fe4303f5e6bc1cbc159fc3e8992aa
sha512=e428ad7f3c0c9529c77c6d397c9c352a3ab883f9b94a9e9a49b57bea7a2b7119786da3647b9082b3ea686a7a9a9df6ea49d133d61bbc1e43a6bbb8bc20e52482
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/qcaml/qcaml.1.0.0/opam
No package is dependent