From d6760100d9030d40ff566e20fb1b02c93577df4f Mon Sep 17 00:00:00 2001 From: Mariia Mykhailova Date: Tue, 15 Feb 2022 17:11:14 -0800 Subject: [PATCH] Update namespace summaries and descriptions This change completes https://github.com/microsoft/QuantumLibraries/issues/483. --- .../Diagnostics/Properties/NamespaceInfo.qs | 7 ------- .../Random/Properties/NamespaceInfo.qs | 7 +++++++ .../Intrinsic/Properties/NamespaceInfo.qs | 11 +++++++++++ 3 files changed, 18 insertions(+), 7 deletions(-) delete mode 100644 src/Simulation/QSharpFoundation/Diagnostics/Properties/NamespaceInfo.qs create mode 100644 src/Simulation/QSharpFoundation/Random/Properties/NamespaceInfo.qs create mode 100644 src/Simulation/TargetDefinitions/Intrinsic/Properties/NamespaceInfo.qs diff --git a/src/Simulation/QSharpFoundation/Diagnostics/Properties/NamespaceInfo.qs b/src/Simulation/QSharpFoundation/Diagnostics/Properties/NamespaceInfo.qs deleted file mode 100644 index 60ad51909db..00000000000 --- a/src/Simulation/QSharpFoundation/Diagnostics/Properties/NamespaceInfo.qs +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/// # Summary -/// This namespace contains functions and operations useful for diagnostic -/// purposes, including assert operations and claim functions. -namespace Microsoft.Quantum.Diagnostics {} diff --git a/src/Simulation/QSharpFoundation/Random/Properties/NamespaceInfo.qs b/src/Simulation/QSharpFoundation/Random/Properties/NamespaceInfo.qs new file mode 100644 index 00000000000..74e514199e8 --- /dev/null +++ b/src/Simulation/QSharpFoundation/Random/Properties/NamespaceInfo.qs @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/// # Summary +/// This namespace contains functions, operations, and UDTs +/// for working with random values and probability distributions. +namespace Microsoft.Quantum.Random {} diff --git a/src/Simulation/TargetDefinitions/Intrinsic/Properties/NamespaceInfo.qs b/src/Simulation/TargetDefinitions/Intrinsic/Properties/NamespaceInfo.qs new file mode 100644 index 00000000000..62809ad635c --- /dev/null +++ b/src/Simulation/TargetDefinitions/Intrinsic/Properties/NamespaceInfo.qs @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/// # Summary +/// This namespace contains built-in operations that represent +/// commonly used quantum gates and measurements. +/// +/// # Description +/// To learn more about the operations in this namespace, see +/// [The Prelude](xref:microsoft.quantum.libraries.overview.standard.prelude). +namespace Microsoft.Quantum.Intrinsic {}