Skip to content

Commit

Permalink
Remove Unstable dependency; replace with stabilized stdlib version in…
Browse files Browse the repository at this point in the history
… library code (#2043)

Now that the `Unstable` library has been deprecated and its contents
ported to the standard library, we no longer need these external project
dependencies.

Closes #2027
  • Loading branch information
sezna authored Nov 26, 2024
1 parent adb3a79 commit 1dfdc69
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 20 deletions.
8 changes: 0 additions & 8 deletions library/fixed_point/qsharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
"ref": "3195043",
"path": "library/signed"
}
},
"Unstable": {
"github": {
"owner": "Microsoft",
"repo": "qsharp",
"ref": "3195043",
"path": "library/unstable"
}
}
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion library/fixed_point/src/Operations.qs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Init.PrepareFxP;
import Facts.AssertPointPositionsIdenticalFxP, Facts.AssertFormatsAreIdenticalFxP, Facts.AssertAllZeroFxP;
import Signed.Operations.Invert2sSI, Signed.Operations.MultiplySI, Signed.Operations.SquareSI;
import Std.Arrays.Zipped;
import Unstable.Arithmetic.RippleCarryTTKIncByLE;
import Std.Arithmetic.RippleCarryTTKIncByLE;

/// # Summary
/// Adds a classical constant to a quantum fixed-point number.
Expand Down
8 changes: 0 additions & 8 deletions library/signed/qsharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
"author": "Microsoft",
"license": "MIT",
"dependencies": {
"Unstable": {
"github": {
"owner": "Microsoft",
"repo": "qsharp",
"ref": "3195043",
"path": "library/unstable"
}
},
"Qtest": {
"github": {
"owner": "Microsoft",
Expand Down
2 changes: 1 addition & 1 deletion library/signed/src/Comparison.qs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import Std.Arrays.Tail, Std.Arrays.Zipped, Std.Arrays.Most, Std.Arrays.Rest;
import Std.Diagnostics.Fact;
import Unstable.Arithmetic.ApplyIfGreaterLE;
import Std.Arithmetic.ApplyIfGreaterLE;

/// # Summary
/// Wrapper for signed integer comparison: `result = xs > ys`.
Expand Down
3 changes: 1 addition & 2 deletions library/signed/src/Operations.qs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@

import Std.Arrays.Tail, Std.Arrays.Most, Std.Arrays.Enumerated;
import Utils.AndLadder;
import Unstable.Arithmetic.RippleCarryTTKIncByLE;
import Std.Arithmetic.RippleCarryTTKIncByLE, Std.Arithmetic.ApplyIfGreaterLE;
import Std.Diagnostics.Fact;
import Unstable.Arithmetic.ApplyIfGreaterLE;

/// # Summary
/// Square signed integer `xs` and store
Expand Down

0 comments on commit 1dfdc69

Please sign in to comment.