Quantum Computing, Quantum Physics, Programming, Physics, Science.
append gates to qubits: array Array indicating qubits indeces (in order) to append the gates to """ temp = QuantumCircuit(len(qubits)) delta_t = t / trotter for pauli in hamiltonian: sim_pauli(pauli, hamiltonian[pauli] * delta_t, temp, range(len(qubits))) for i in range(trotter): qc.compose(temp,