qml.liealg.DIII

DIII(op, wire=None)[source]

Canonical Cartan decomposition of type DIII, given by \(\theta: x \mapsto Y_0 x Y_0\).

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

  • wire (int) – The wire on which the Pauli-\(Y\) operator acts to implement the involution. Will default to 0 if None.

Returns:

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

Return type:

bool