Cove - A Practical Quantum Computer Programming Framework
IsStateInPartialCollapse Method (MeasureMask, CollapsedValue, State)
NamespacesCove.LocalSimulationQuantumRegisterIsStateInPartialCollapse(Int64, Int64, Int64)
Does the current state (State) match the collapsed value in the measuring mask? Example: Measuring mask is XX11X1, Collapsed value is 011 (3 bits in measuring mask). So if State is in the form XX01X1 then true is returned.
Declaration Syntax
C#Visual BasicVisual C++
public bool IsStateInPartialCollapse(
	long MeasureMask,
	long CollapsedValue,
	long State
Public Function IsStateInPartialCollapse ( _
	MeasureMask As Long, _
	CollapsedValue As Long, _
	State As Long _
) As Boolean
bool IsStateInPartialCollapse(
	long long MeasureMask, 
	long long CollapsedValue, 
	long long State
MeasureMask (Int64)

[Missing <param> documentation for "MeasureMask"]

CollapsedValue (Int64)

[Missing <param> documentation for "CollapsedValue"]

State (Int64)

[Missing <param> documentation for "State"]

Return Value

[Missing <returns> documentation for M:Cove.LocalSimulation.QuantumRegister.IsStateInPartialCollapse(System.Int64,System.Int64,System.Int64)]

Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: (