Main program, 1 qubit