You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% choose a gate to search for, the Hadamard gate in this instance. For searching, the rotateToSU2 function does not have to be applied on beforehand (the algorithm does this internally), but it is convenient for accuracy checking in this example
search = rotateToSU2(constants.H);
% invoke Solovay-Kitaev in order to find the best approximation