cirq.Pauli.relative_index

Pauli.relative_index(second: cirq.ops.pauli_gates.Pauli) → int[source]

Relative index of self w.r.t. second in the (X, Y, Z) cycle.