AbsoluteValueSquared Method
Cove - A Practical Quantum Computer Programming Framework
AbsoluteValueSquared Method
Returns the square of the absolute value. Since i^2 = 1, there will be no imaginary component
Declaration Syntax
C#Visual BasicVisual C++
public double AbsoluteValueSquared()
Public Function AbsoluteValueSquared As Double
double AbsoluteValueSquared()
Return Value
The square of the absolute value

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