qc.reset(4); qc.write(3); qc.hadamard(1); qc.cnot(4, 1|2); qc.print('ok.');