Cove - A Practical Quantum Computer Programming Framework
IsValidState Method
Checks to make sure the register is in a valid state: all entries in the matrix representing the state must have the squares of their values total 1.0.
Declaration Syntax
C#Visual BasicVisual C++
public bool IsValidState()
Public Function IsValidState As Boolean
bool IsValidState()
Return Value
True if in a valid state.

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