# rust-libquantum-patched > Bindings for libquantum in Rust - a fork `rust-libquantum-forked` is a library that provides safe bindings to the libquantum library (v. 1.1.1) C library, a quantum simulator. Like libquantum and rust-libquantum, rust-libquantum-patched is licensed under GPL-3.0 as it links dynamically against libquantum and was forked from rust-libquantum. ## Prerequisits * Rust (install [here](https://www.rustup.rs)). * Libquantum (can be installed from [source] or through a package manager, for example `sudo apt-get install libquantum-dev` or `brew install libquantum --devel`) ## Installation ``` [dependencies] libquantum-patched = "0.2" ``` You can also pull from GitHub to use the latest version. ``` [dependencies.libquantum] git = "https://github.com/mknyszek/rust-libquantum" ``` Finally, you can also just clone this repository and compile with `cargo build` ## Troubleshooting If for some reason the build script cannot find `quantum.h` on your system, try installing from source ## Contributing Just submit a pull request, any help in getting these bindings general and complete is welcome. Some rules, though: * Any new code must be well-documented, whether or not it appears in the public interface. * If you want to change an existing public interface, give me a good reason. * Please add tests for any new functionality you create.