qat.core.variables.conjugate
- qat.core.variables.conjugate(number)
Computes the conjugate of a complex number.
from qat.core.variables import conjugate print(conjugate(1 + 1j))
(1-1j)
- Parameters:
number – complex number
- Returns:
conjugate
- Return type:
ArithExpressionor number