IsNotZero function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Chemistry

Package: Microsoft.Quantum.Chemistry

Checks whether a Double number is not approximately zero.

function IsNotZero (number : Double) : Bool

Input

number : Double

Number to be checked

Output : Bool

Returns true if number has an absolute value greater than 1e-15.