simplify(1/√2+i/√2)^2+(1/√2+i/√2)*(1/√2-i/√2)