A high-performance Rust library for Quantum Machine Learning, integrating NLP/NLU as a core layer.
The QI Library follows a three-stage transformation logic:
- Linear Algebra Compression: Reducing high-dimensional data into pure mathematical tensors.
- Quantum Circuit Mapping: Mapping tensors into unitary operations in Hilbert space.
- Neural Network Synthesis: Generating a neural network architecture mirroring the quantum circuit's topology.
Input data
We represent the model as a Parametric Quantum Circuit (PQC):
The synthesized Neural Network
- NLP Layer: Integrated NLU in the training logic utilizing built-in tokenization.
- Auto-Looping: Continuous training loop with automated gradient adjustment.
- Memory Safety: Rust-based memory management ensuring zero-cost abstractions and secure model handling.
[dependencies]
cyclops = { path = "./" }The library employs mlock (via libc) for sensitive weights and uses Rust's Arc and Mutex with manual memory optimization for multi-threaded performance.