Quantum, Qiskit, Quantum Mechanics, Python, Programming.
qubits=QuantumRegister(n+1) splitOp=QuantumCircuit(qubits,name="splitOp") '''potential operator''' #adding a barrier from 001110 to 001111 splitOp.ccx(3,4,0) splitOp.cp(V*phi,0,5) splitOp.ccx(3,4,0) splitOp.barrier() '''QFT''' splitOp.append(QFT(n),qubits[1:]) '''momentum operator''' for i in