def METHOD_NAME(self, pauli_ops, qwc_rot_sol):
    """Tests that the correct single-qubit post-rotation gates are obtained for the input list
    of Pauli operators."""
    qwc_rot = qwc_rotation(pauli_ops)
    assert all(
        self.are_identical_rotation_gates(qwc_rot[i], qwc_rot_sol[i])
        for i in range(len(qwc_rot))
    )