docs: def _non_local_part(q0: ops.Qid,
                      q1: ops.Qid,
                      interaction_coefficients: Tuple[float, float, float],
                      allow_partial_czs: bool,
                      atol: float = 1e-8):
      """Yields non-local operation of KAK decomposition."""
  
      x, y, z = interaction_coefficients
  
      if (allow_partial_czs or
          all(_is_trivial_angle(e, atol) for e in [x, y, z])):
          return [
              _parity_interaction(q0, q1, x, atol, ops.Y**-0.5),
              _parity_interaction(q0, q1, y, atol, ops.X**0.5),
              _parity_interaction(q0, q1, z, atol)
          ]
  
      if abs(z) >= atol:
          return _xx_yy_zz_interaction_via_full_czs(q0, q1, x, y, z)
  
      if y >= atol:
          return _xx_yy_interaction_via_full_czs(q0, q1, x, y)
  
      return _xx_interaction_via_full_czs(q0, q1, x)