Util Class

Liquid Quantum Simulator

Util Class
General utilities used by the rest of the system
Inheritance Hierarchy
SystemObject  Microsoft.Research.LiquidUtil

Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)
Syntax
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Util =  class end

The Util type exposes the following members.

Properties
  NameDescription
Public propertyStatic membercopyright
Copyright notice for Liquid.
Public propertyStatic memberinteractive
Public propertyStatic memberoutputPrefix
Global override for the prefix used for output functions (show and variants).
Public propertyStatic membersqrt2
Highly accurate square root of 2, for use building unitary matrices.
Top
Methods
  NameDescription
Public methodStatic member__show
Shows a line of output. This is a command line-callable routine.
Public methodStatic membergetFlgPar
Extracts a boolean macro definition from a command option dictionary.
Public methodStatic membergetFltPar
Extracts a float macro definition from a command option dictionary.
Public methodStatic membergetIntPar
Extracts an integer macro definition from a command option dictionary.
Public methodStatic membergetIntsPar
Extracts an integer list macro definition from a command option dictionary.
Public methodStatic membergetStrPar
Extracts a string macro definition from a command option dictionary.
Public methodStatic memberNormal
Add a Normal distribution to the System.Random class. This is an extension method and may be used as if it were an instance method on Random.
Public methodStatic memberPermAry
Create a random permutation array (call .permute with results) This is an extension method and may be used as if it were an instance method on Random.
Public methodStatic memberprocStats
Gets current process memory usage statistics.
Public methodStatic membershowa
Shows a line of output to the console and the log file.
Public methodStatic membershowBareInd
Shows an indented line of output, with no prefix, to the console and log file. This routine is used by or with various Dump() routines.
Public methodStatic membershowBareLogInd
Shows an indented line of output, with no prefix, to the log file. This routine is used by or with various Dump() routines.
Public methodStatic membershowDump
Dumps out a string with with an optional indentation.
Public methodStatic membershowInd
Shows an indented line of output to the console and log file. This routine is used by or with various Dump() routines.
Public methodStatic membershowLoga
Shows a line of output to the log file.
Public methodStatic membershowLogInd
Shows an indented line of output to the log file. This routine is used by or with various Dump() routines.
Public methodStatic membershowProcStats
Print process memory usage statistics to the console and log file.
Top
See Also