Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/Simulation/QSharpFoundation/Environment.qs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand All @@ -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;
}
Expand All @@ -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;
}
Expand Down