qml.liealg.AI

AI(op)[source]

Canonical Cartan decomposition of type AI, given by \(\theta: x \mapsto x^\ast\).

Note

Note that we work with Hermitian operators internally, so that the input will be multiplied by \(i\) before evaluating the involution.

Parameters:

op (Union[np.ndarray, PauliSentence, Operator]) – Operator on which the involution is evaluated and for which the parity under the involution is returned.

Returns:

Whether or not the input operator (times \(i\)) is in the eigenspace of the involution \(\theta\) with eigenvalue \(+1\).

Return type:

bool