Code covered by the BSD License  

Highlights from
QUBIT4MATLAB V4.0

from QUBIT4MATLAB V4.0 by Geza Toth
MATLAB package for quantum information science and quantum mechanics.

U=U_H
% U_H   2x2 unitary matrix realizing a Hadamard gate
function U=U_H

U=[1 1;1 -1]/sqrt(2);

Contact us at files@mathworks.com