Crates.io | logosq |
lib.rs | logosq |
version | 0.1.3 |
created_at | 2025-08-27 16:20:11.677744+00 |
updated_at | 2025-09-06 06:34:26.05355+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. |
homepage | https://logosqbook.vercel.app |
repository | |
max_upload_size | |
id | 1812892 |
size | 770,886 |
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.
λόγος (lógos) comes from Greek means the logic.
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.
Add LogosQ to your project by adding the following to your Cargo.toml
:
[dependencies]
logosq = "0.1.3"
or clone the repository and navigate to the project directory:
git clone https://github.com/zazabap/logosq.git
cd logosq
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
The examples
directory contains several example files demonstrating how to use the library:
🚧 Intermediate Representation (IR) for circuit optimization
🚧 More quantum algorithms implementations
🚧 Comprehensive testing suite
🚧 Page for documentation with example
🚧 Noise models and error simulation
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.
sudo apt-get update
sudo apt-get install -y libfontconfig1-dev pkg-config