The Language-Integrated Quantum Operations (LIQUi|>) Simulator
CVecGlobalPhase Method |
Estimates the global phase of a vector that represents a quantum state.
The estimate is computed as the complex phase of the vector element with
the greatest amplitude.
Namespace: Microsoft.Research.Liquid
Assembly: Liquid1 (in Liquid1.dll) Version: 1.0.5981.24943 (1.0.*)

F#
member GlobalPhase : unit -> Tuple<float, Complex>
Return Value
Type: TupleDouble, ComplexA tuple whose first element is the estimated phase angle, in radians, and whose second element is the unit-magnitude Complex number with the opposite phase.
