you give operation implement singlequbit unitary transformation H gate X gate the operation Adjoint Controlled variant definedYour task perform necessary operation measurement figure unitary return 0 h gate 1 x gate you allow apply give operation adjointcontrolle variant twiceyou implement operation take singlequbit operation input return integer your code follow signaturenamespace solution open microsoftquantumintrinsic operation Solve unitary Qubit Unit AdjCtl Int code