The Language-Integrated Quantum Operations (LIQUi|>) Simulator
CVecNonZeros Method |
Gets non-zero indices upto a max count
Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)

F#
member NonZeros : mx : int * thresh : FSharpOption<float> -> FSharpList<uint64>
Parameters
- mx
- Type: SystemInt32
Max length of list to return - thresh
- Type: Microsoft.FSharp.CoreFSharpOptionDouble
Threshold (optional=tol*1.0e+2)
Return Value
Type: FSharpListUInt64Indicies of non-zero (tolerance defined) entries
