Is this a valid quantum operation? All quantum operations must be unitary,
so this allows for all operations to be checked before they are applied to
registers.

C# | Visual Basic | Visual C++ |
bool IsValidOperation()
Function IsValidOperation As Boolean
bool IsValidOperation()

True if the operation is valid (unitary).