Crates.io | qforge |
lib.rs | qforge |
version | 0.1.2 |
created_at | 2025-08-17 14:07:40.134406+00 |
updated_at | 2025-08-27 14:42:17.630316+00 |
description | This project is a quantum computing library developed in Rust, inspired by existing libraries such as QPP in C++, Yao.jl in Julia, and Pennylane in Python. The library aims to provide a comprehensive set of tools for quantum computing, including quantum gates, circuits, states, algorithms, and noise simulation. |
homepage | https://zazabap.github.io/qforge |
repository | |
max_upload_size | |
id | 1799427 |
size | 80,605 |
This project is a quantum computing library developed in Rust, inspired by existing libraries such as QPP in C++, Yao.jl in Julia, and Pennylane in Python. The library aims to provide a comprehensive set of tools for quantum computing, including quantum gates, circuits, states, algorithms, and noise simulation.
The project is organized into several modules, each responsible for a specific aspect of quantum computing:
To build and run the project, ensure you have Rust installed on your machine. You can install Rust using rustup.
Clone the repository and navigate to the project directory:
git clone https://github.com/zazabap/qforge.git
cd qforge
Then, build the project using Cargo:
cargo build
To use the library, you can include it in your Rust project by adding it as a dependency in your Cargo.toml
file. Here’s an example of how to create and manipulate basic quantum gates:
use qforge::gates::{Gate, Hadamard};
fn main() {
let h_gate = Hadamard::new();
// Use the Hadamard gate...
}
The examples
directory contains several example files demonstrating how to use the library:
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more details.