GetQubitsAvailableToBorrow operation

Namespace: Microsoft.Quantum.Environment

Package: Microsoft.Quantum.QSharp.Foundation

Warning

GetQubitsAvailableToBorrow has been deprecated.

Returns the number of qubits currently available to borrow.

operation GetQubitsAvailableToBorrow () : Int

Output : Int

The number of qubits that could be borrowed and won't be allocated as part of a borrowing statement. 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