Using Dirac notation, find the output state when the Hadamard operation H is applied to a qubit followed by the inverse of the gate U2.