BoolConversionOptions Enumeration
Cove - A Practical Quantum Computer Programming Framework
BoolConversionOptions Enumeration
NamespacesCove.BaseBoolConversionOptions
Defines various conversion options for converting classical results to a boolean.
Declaration Syntax
C#Visual BasicVisual C++
public enum BoolConversionOptions
Public Enumeration BoolConversionOptions
public enum class BoolConversionOptions
Members
MemberDescription
TrueIfAnyOnes
If the classical result contains any ones then true is returned.

TrueIfAllOnes
If all the bits in the result are one, then true is returned.

TrueIfMoreThanHalfOnes
If a majority of the bits (more than half) are one, then true is returned. If the same number of bits are one and zero then false is returned. More than half must be one.

TrueIfHalfOrMoreOnes
If half or more of the bits are one, then return true. If the same number of bits are one and zero then true is returned.

Assembly: Cove.Base (Module: Cove.Base) Version: 1.0.0.0 (1.0.0.0)