Skip to content

Commit

Permalink
remove opens
Browse files Browse the repository at this point in the history
  • Loading branch information
sezna committed Sep 10, 2024
1 parent 920dd71 commit f878951
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions library/std/src/Std/Arrays.qs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

open Microsoft.Quantum.Diagnostics;
open Microsoft.Quantum.Math;
import Std.Diagnostics.*;
import Std.Math.*;

/// # Summary
/// Given an array and a predicate that is defined
Expand Down
6 changes: 3 additions & 3 deletions library/std/src/Std/Canon.qs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@


import QIR.Intrinsic.*;
open Microsoft.Quantum.Intrinsic;
open Microsoft.Quantum.Diagnostics;
open Microsoft.Quantum.Math;
import Std.Intrinsic.*;
import Std.Diagnostics.*;
import Std.Math.*;

/// # Summary
/// Applies an operation to each element in a register.
Expand Down
4 changes: 2 additions & 2 deletions library/std/src/Std/Convert.qs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
open Microsoft.Quantum.Diagnostics;
open Microsoft.Quantum.Math;
import Std.Diagnostics.*;
import Std.Math.*;

/// # Summary
/// Converts a given integer `number` to an equivalent
Expand Down
4 changes: 2 additions & 2 deletions library/std/src/Std/InternalHelpers.qs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


import Std.Arrays.*;
open Microsoft.Quantum.Core;
open Microsoft.Quantum.Math;
import Std.Core.*;
import Std.Math.*;
import Std.Intrinsic.*;
import QIR.Intrinsic.*;

Expand Down
8 changes: 4 additions & 4 deletions library/std/src/Std/Intrinsic.qs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Licensed under the MIT License.


open Microsoft.Quantum.Convert;
open Microsoft.Quantum.Core;
open Microsoft.Quantum.Diagnostics;
open Microsoft.Quantum.Math;
import Std.Convert.*;
import Std.Core.*;
import Std.Diagnostics.*;
import Std.Math.*;
open QIR.Intrinsic;
import Std.InternalHelpers.*;

Expand Down
4 changes: 2 additions & 2 deletions library/std/src/Std/Math.qs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under the MIT License.


open Microsoft.Quantum.Convert;
open Microsoft.Quantum.Diagnostics;
import Std.Convert.*;
import Std.Diagnostics.*;

//
// Constants PI, E, LogOf2.
Expand Down
6 changes: 3 additions & 3 deletions library/std/src/Std/Measurement.qs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// Licensed under the MIT License.


open Microsoft.Quantum.Core;
open Microsoft.Quantum.Intrinsic;
open Microsoft.Quantum.Diagnostics;
import Std.Core.*;
import Std.Intrinsic.*;
import Std.Diagnostics.*;
open QIR.Intrinsic;

/// # Summary
Expand Down
8 changes: 4 additions & 4 deletions library/std/src/unstable_arithmetic.qs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Licensed under the MIT License.

namespace Microsoft.Quantum.Unstable.Arithmetic {
open Microsoft.Quantum.Arrays;
open Microsoft.Quantum.Diagnostics;
open Microsoft.Quantum.Math;
open Microsoft.Quantum.Convert;
import Std.Arrays.*;
import Std.Diagnostics.*;
import Std.Math.*;
import Std.Convert.*;

/// # Summary
/// This applies the in-place majority operation to 3 qubits.
Expand Down
8 changes: 4 additions & 4 deletions library/std/src/unstable_arithmetic_internal.qs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Licensed under the MIT License.

namespace Microsoft.Quantum.Unstable.Arithmetic {
open Microsoft.Quantum.Diagnostics;
open Microsoft.Quantum.Arrays;
open Microsoft.Quantum.Math;
open Microsoft.Quantum.Convert;
import Std.Diagnostics.*;
import Std.Arrays.*;
import Std.Math.*;
import Std.Convert.*;

/// # Summary
/// Implements the outer operation for RippleCarryTTKIncByLE to conjugate
Expand Down
8 changes: 4 additions & 4 deletions library/std/src/unstable_state_preparation.qs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Licensed under the MIT License.

namespace Microsoft.Quantum.Unstable.StatePreparation {
open Microsoft.Quantum.Convert;
open Microsoft.Quantum.Diagnostics;
open Microsoft.Quantum.Arrays;
open Microsoft.Quantum.Math;
import Std.Convert.*;
import Std.Diagnostics.*;
import Std.Arrays.*;
import Std.Math.*;

/// # Summary
/// Given a set of coefficients and a big-endian quantum register,
Expand Down
12 changes: 6 additions & 6 deletions library/std/src/unstable_table_lookup.qs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
// Licensed under the MIT License.

namespace Microsoft.Quantum.Unstable.TableLookup {
open Microsoft.Quantum.Arrays;
open Microsoft.Quantum.Convert;
open Microsoft.Quantum.Diagnostics;
open Microsoft.Quantum.Math;
open Microsoft.Quantum.ResourceEstimation;
open Microsoft.Quantum.Unstable.Arithmetic;
import Std.Arrays.*;
import Std.Convert.*;
import Std.Diagnostics.*;
import Std.Math.*;
import Std.ResourceEstimation.*;
import Microsoft.Quantum.Unstable.Arithmetic.*;

/// # Summary
/// Performs table lookup using a SELECT network
Expand Down

0 comments on commit f878951

Please sign in to comment.