logosq

Crates.iologosq
lib.rslogosq
version0.1.4
created_at2025-08-27 16:20:11.677744+00
updated_at2025-09-19 17:00:11.582648+00
descriptionThis 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.
homepagehttps://logosqbook.vercel.app
repository
max_upload_size
id1812892
size795,124
Shiwen An (zazabap)

documentation

README

LogosQ Logo LogosQ: Quantum Computing Library in Rust

Overview

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.

Installation

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

Usage

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.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes. For further details, please check the DevGuide.md

License

This project is licensed under the MIT License. See the LICENSE file for more details.

FAQ

  1. Some bugs might appear when using the crate, one of the error related with missing package in libfontconfig1-dev, in such case, running on debian/linux (tested on ubuntu) could fix the build error.
sudo apt-get update
sudo apt-get install -y libfontconfig1-dev pkg-config
Commit count: 0

cargo fmt