EqualityFactCP function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Diagnostics

Package: Microsoft.Quantum.Standard

Asserts that a complex number has the expected value.

function EqualityFactCP (actual : Microsoft.Quantum.Math.ComplexPolar, expected : Microsoft.Quantum.Math.ComplexPolar, message : String) : Unit

Input

actual : ComplexPolar

The value to be checked.

expected : ComplexPolar

The expected value.

message : String

Failure message string to be used when the assertion is triggered.

Output : Unit