From 0cbfab78f7e527dcf4d1eb7913dd39a5ec00a899 Mon Sep 17 00:00:00 2001 From: Christopher Granade Date: Wed, 10 Mar 2021 17:20:01 -0800 Subject: [PATCH] Deprecate M.Q.Environment.* (microsoft/quantumlibraries#418) --- src/Simulation/QSharpFoundation/Environment.qs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Simulation/QSharpFoundation/Environment.qs b/src/Simulation/QSharpFoundation/Environment.qs index 9f5018d1fc4..140c0d10fb6 100644 --- a/src/Simulation/QSharpFoundation/Environment.qs +++ b/src/Simulation/QSharpFoundation/Environment.qs @@ -4,6 +4,7 @@ /// # Summary /// These functions provide information about the environment in which the quantum computation is occuring. namespace Microsoft.Quantum.Environment { + /// # Summary /// Returns the number of qubits currently available to use. /// @@ -12,8 +13,13 @@ namespace Microsoft.Quantum.Environment { /// If the target machine being used does not provide this information, then /// `-1` is returned. /// + /// # Remarks + /// This operation is no longer supported, and will be removed in a future + /// version. + /// /// # See Also /// - GetQubitsAvailableToBorrow + @Deprecated("") operation GetQubitsAvailableToUse () : Int { body intrinsic; } @@ -27,8 +33,13 @@ namespace Microsoft.Quantum.Environment { /// If the target machine being used does not provide this information, then /// `-1` is returned. /// + /// # Remarks + /// This operation is no longer supported, and will be removed in a future + /// version. + /// /// # See Also /// - GetQubitsAvailableToUse + @Deprecated("") operation GetQubitsAvailableToBorrow () : Int { body intrinsic; }