9 unstable releases (3 breaking)

0.4.0 Jan 23, 2024
0.3.1 May 16, 2023
0.2.3 Apr 13, 2023
0.2.2 Nov 16, 2022
0.1.0 Jul 14, 2022

#192 in Programming languages


Used in kbw

Apache-2.0

76KB
1K SLoC

Libket

Libket serves as the core of the Ket Quantum Programming platform, providing a runtime library for the quantum programming language Ket, as well as simple interfaces for developing quantum applications in C/C++ and Rust. For more information, please refer to the documentation at https://quantumket.org.

License

Libket is released under the Apache-2.0 License. See LICENSE for more information.


lib.rs:

Libket Quantum Programming Library

The Libket library provides a set of tools for quantum programming in Rust. It serves as the runtime library for the Python-embedded quantum programming language Ket.

Note: For more information about the Ket programming language, please visit https://quantumket.org.

Usage

To use this library, add the following line to your Cargo.toml file:

[dependencies]
libket = "0.4.0"

Additionally, you may need to include the following dependencies for quantum code serialization/deserialization and the KBW quantum computer simulator:

serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
kbw = "0.2.0"

Dependencies

~1.3–2.2MB
~47K SLoC