Skip to content

Language bindings for popular languages, surfacing Q# compiler and resource estimator APIs

License

Notifications You must be signed in to change notification settings

qsharp-community/qsharp-bridge

Repository files navigation

qsharp-bridge

Language bindings for popular languages, surfacing Q# compiler and resource estimator APIs

Supported Languages

  • C#
  • Swift
  • Kotlin
  • Python (though that is also natively supported by Q# already)

Building

  1. Install uniffi-bindgen-cs to support C# bindings generations. The other language bindings are supported without any extra dependencies.
cargo install uniffi-bindgen-cs --git https://github.com/NordSecurity/uniffi-bindgen-cs
  1. Run the following command to build the project:
cargo build --release
  1. The language bindings are generated into the bindings directory.

  2. The native library is located under ./target/release/libqsharp_bridge.{so|dll|dylib|a}.

Examples

Explore the C#/Swift/Kotlin examples here.

About

Language bindings for popular languages, surfacing Q# compiler and resource estimator APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published