Defines various conversion options for converting classical
results to a boolean.

C# | Visual Basic | Visual C++ |
public enum BoolConversionOptions
Public Enumeration BoolConversionOptions
public enum class BoolConversionOptions

Member | Description |
---|---|
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.
|