Menu

Tree [16b537] main /
 History

HTTPS access


File Date Author Commit
 editors 2025-11-19 Gurukasi Gurukasi [ed2271] Add files via upload
 examples 2025-11-16 Gurukasi Gurukasi [647a86] Add files via upload
 q_packages 2025-11-16 Gurukasi Gurukasi [647a86] Add files via upload
 quantumlib 2025-11-16 Gurukasi Gurukasi [647a86] Add files via upload
 src 2025-11-29 Gurukasi Gurukasi [b68e00] Updated main.rs to rectify jit bugs
 stdlib 2025-11-29 Gurukasi Gurukasi [023867] Refactor and expand the math library
 tests 2025-11-29 Gurukasi Gurukasi [e97b13] Update and rename 100_test_math.qc to tests/100...
 .gitattributes 2025-11-19 Gurukasi Gurukasi [4f4395] Add .gitattributes for Rust file type recognition
 .gitignore 2025-11-16 Gurukasi Gurukasi [2d7ae9] Add .gitignore for Rust project
 CODE_OF_CONDUCT.md 2025-11-28 Gurukasi Gurukasi [3215ed] Create CODE_OF_CONDUCT.md
 Cargo.toml 2025-11-18 Gurukasi Gurukasi [415a2c] Update Cargo.toml
 LICENSE 2025-11-16 Gurukasi Gurukasi [f08c7c] Initial commit
 Quantica-Docs-Exp300.pdf 2025-11-19 Gurukasi Gurukasi [bc6713] Quantica Docs pdf
 README.md 2025-11-29 Gurukasi Gurukasi [bea199] Fix formatting in README for PATH instructions ...
 linkercommands.txt 2025-11-16 Gurukasi Gurukasi [d8a892] Add files via upload
 test.qc 2025-11-16 Gurukasi Gurukasi [d8a892] Add files via upload
 test1.qc 2025-11-16 Gurukasi Gurukasi [d8a892] Add files via upload
 test_compile.qc 2025-11-16 Gurukasi Gurukasi [d8a892] Add files via upload

Read Me

Quantica Programming Language

License: MIT
Build Status
Rust
Platform

Quantica is a high-performance, compiled programming language designed for the next generation of computing: Quantum-Classical Hybrid workflows. Written in Rust and powered by LLVM, it features native quantum primitives, sparse state simulation, and a syntax built for scientists and engineers.


Why Quantica?

Most quantum languages are just Python libraries. Quantica is a compiled language where quantum gates, measurements, and circuits are first-class citizens.

  • Native Quantum Syntax: Allocate registers (quantum q[2]) and apply gates (apply H(q[0])) directly in the language.
  • Hybrid Runtime: Mix classical logic (if, while, functions) with quantum state manipulation seamlessly.
  • Gate Modifiers: Dynamically apply dagger (inverse) and controlled modifiers to any gate or circuit.
  • LLVM Backend: Compiles to highly optimized native machine code via LLVM 18 for maximum performance.
  • Package Management: Built-in support for modules and packages via import and from syntax.

📦 Installation

For the easiest setup, download the pre-built installer from our latest release.

  1. Go to the Releases Page.
  2. Download QuanticaInstaller-v0.1.0-alphatest.exe.
  3. Run the installer to set up Quantica and add it to your system PATH automatically.

Option 2: Build from Source

If you are on Linux/macOS or prefer building from source, you will need Rust and LLVM 18 installed.

# 1. Clone the repository
git clone [https://github.com/Quantica-Foundation/quantica-lang.git](https://github.com/Quantica-Foundation/quantica-lang.git)
cd quantica-lang

# 2. Build the compiler (release mode recommended for performance)
cargo build --release

# 3. The executable will be at ./target/release/quantica
Add this folder to your PATH or copy the binary to /usr/local/bin

Known Limitations

  • Match expressions incomplete (use if/elif/else)
  • Try/finally not implemented (try/catch works)
  • JIT mode experimental (use interpreter or AOT)
MongoDB Logo MongoDB