Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
Fully qualified name: Std.Diagnostics.StopCountingQubits
operation StopCountingQubits() : Int
Summary
Stops counting the number of qubits allocated and returns the count. Fails if the qubits were not being counted.
Description
This operation allows you to stop counting the number of qubits allocated and returns the count since the
last call to StartCountingQubits. If the qubits were not being counted, it triggers a runtime failure.
Output
The number of unique qubits allocated since the last call to StartCountingQubits.