From 40dcf4c931ae2c949e6cd1804294cca4f5b2b0bb Mon Sep 17 00:00:00 2001 From: filipw Date: Mon, 27 Oct 2025 14:20:46 +0100 Subject: [PATCH] updated QDK to 1.21.0 --- Cargo.lock | 62 ++++++++++++++++++++++++++++++------------------------ Cargo.toml | 6 +++--- 2 files changed, 38 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 042b6d7..e85093c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ dependencies = [ [[package]] name = "allocator" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "mimalloc-sys", ] @@ -523,7 +523,7 @@ checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa" [[package]] name = "library" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" [[package]] name = "linux-raw-sys" @@ -579,7 +579,7 @@ dependencies = [ [[package]] name = "mimalloc-sys" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "cc", ] @@ -708,10 +708,18 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "qdk_simulators" +version = "0.0.0" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" +dependencies = [ + "quantum-sparse-sim", +] + [[package]] name = "qsc" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "allocator", "env_logger", @@ -744,7 +752,7 @@ dependencies = [ [[package]] name = "qsc_ast" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "indenter", "miette", @@ -755,7 +763,7 @@ dependencies = [ [[package]] name = "qsc_circuit" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "log", "miette", @@ -777,7 +785,7 @@ dependencies = [ [[package]] name = "qsc_codegen" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "num-bigint", "num-complex", @@ -798,7 +806,7 @@ dependencies = [ [[package]] name = "qsc_data_structures" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "bitflags", "miette", @@ -809,7 +817,7 @@ dependencies = [ [[package]] name = "qsc_doc_gen" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "qsc_ast", "qsc_data_structures", @@ -822,18 +830,18 @@ dependencies = [ [[package]] name = "qsc_eval" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "miette", "ndarray", "num-bigint", "num-complex", "num-traits", + "qdk_simulators", "qsc_data_structures", "qsc_fir", "qsc_hir", "qsc_lowerer", - "quantum-sparse-sim", "rand", "rustc-hash 1.1.0", "thiserror 1.0.69", @@ -842,7 +850,7 @@ dependencies = [ [[package]] name = "qsc_fir" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "indenter", "num-bigint", @@ -853,7 +861,7 @@ dependencies = [ [[package]] name = "qsc_formatter" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "clap", "qsc_data_structures", @@ -863,7 +871,7 @@ dependencies = [ [[package]] name = "qsc_frontend" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "library", "miette", @@ -878,7 +886,7 @@ dependencies = [ [[package]] name = "qsc_hir" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "indenter", "num-bigint", @@ -889,7 +897,7 @@ dependencies = [ [[package]] name = "qsc_linter" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "miette", "qsc_ast", @@ -905,7 +913,7 @@ dependencies = [ [[package]] name = "qsc_lowerer" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "qsc_data_structures", "qsc_fir", @@ -915,7 +923,7 @@ dependencies = [ [[package]] name = "qsc_parse" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "bitflags", "enum-iterator", @@ -930,7 +938,7 @@ dependencies = [ [[package]] name = "qsc_partial_eval" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "miette", "num-bigint", @@ -948,7 +956,7 @@ dependencies = [ [[package]] name = "qsc_passes" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "miette", "qsc_data_structures", @@ -965,7 +973,7 @@ dependencies = [ [[package]] name = "qsc_project" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "async-trait", "futures", @@ -986,7 +994,7 @@ dependencies = [ [[package]] name = "qsc_qasm" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "bitflags", "enum-iterator", @@ -1007,7 +1015,7 @@ dependencies = [ [[package]] name = "qsc_rca" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "bitflags", "indenter", @@ -1023,7 +1031,7 @@ dependencies = [ [[package]] name = "qsc_rir" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "indenter", "qsc_data_structures", @@ -1048,8 +1056,8 @@ dependencies = [ [[package]] name = "quantum-sparse-sim" -version = "0.8.2" -source = "git+https://github.com/qir-alliance/qir-runner?rev=e1930df15ef02b3bf273a6f536f46bf6871448c5#e1930df15ef02b3bf273a6f536f46bf6871448c5" +version = "0.8.3" +source = "git+https://github.com/qir-alliance/qir-runner?rev=8cd6fa698521ecf96d459f88254e53dd6e5d6877#8cd6fa698521ecf96d459f88254e53dd6e5d6877" dependencies = [ "ndarray", "num-bigint", @@ -1154,7 +1162,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "resource_estimator" version = "0.0.0" -source = "git+https://github.com/microsoft/qsharp.git?tag=v1.20.0#73ca361d760b28bb5a9c231f916024b08f884fae" +source = "git+https://github.com/microsoft/qdk.git?tag=v1.21.0#f2ca520e83c338b6d42c2360396dcd39328c5c76" dependencies = [ "fasteval", "miette", diff --git a/Cargo.toml b/Cargo.toml index 872dcbd..8da9c72 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +9,8 @@ edition = "2024" crate-type = ["lib", "cdylib", "staticlib"] [dependencies] -qsc = { git = "https://github.com/microsoft/qsharp.git", tag = "v1.20.0" } -resource_estimator = { git = "https://github.com/microsoft/qsharp.git", tag = "v1.20.0" } +qsc = { git = "https://github.com/microsoft/qdk.git", tag = "v1.21.0" } +resource_estimator = { git = "https://github.com/microsoft/qdk.git", tag = "v1.21.0" } thiserror = "1.0" num-bigint = "0.4.5" num-complex = "0.4" @@ -23,4 +23,4 @@ serde_json = "1.0" [build-dependencies] uniffi = { version = "0.29.4", features=["build"] } uniffi_build = "0.29.4" -uniffi_bindgen = "0.29.4" \ No newline at end of file +uniffi_bindgen = "0.29.4" \ No newline at end of file