Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kukushechkin/very-rusty-noisy-qubit
A Rust wrapper for the world's most unreliable quantum computing API. This project demonstrates how to create Rust bindings for a C API, while potentially violating several laws of quantum mechanics.
https://github.com/kukushechkin/very-rusty-noisy-qubit
ffi-bindings quantum-computing rust-lang
Last synced: about 12 hours ago
JSON representation
A Rust wrapper for the world's most unreliable quantum computing API. This project demonstrates how to create Rust bindings for a C API, while potentially violating several laws of quantum mechanics.
- Host: GitHub
- URL: https://github.com/kukushechkin/very-rusty-noisy-qubit
- Owner: kukushechkin
- License: mit
- Created: 2025-01-20T22:31:37.000Z (1 day ago)
- Default Branch: main
- Last Pushed: 2025-01-20T22:41:46.000Z (1 day ago)
- Last Synced: 2025-01-20T23:25:57.067Z (1 day ago)
- Topics: ffi-bindings, quantum-computing, rust-lang
- Language: Rust
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Very Rusty Noisy Qubit
A Rust wrapper for the world's most unreliable quantum computing API. This project demonstrates how to create Rust bindings for a C API, while potentially violating several laws of quantum mechanics.
## What is this?
This is a test project showing how to:
- Use `bindgen` to generate Rust bindings for C API that probably shouldn't exist, obtained who knows from where (submodules for example)
- Create a safe Rust wrapper around unsafe C FFI (because we need more layers of uncertainty)
- Implement tests that might pass (or not, who knows?)
- If tests pass, we can compile and run more tests that will fail (or not, who knows?)## Building and testing
```bash
cargo build && cargo test
```