Quantum Computing, Quantum Physics, Programming, Physics, Science.
sim_ham(hamiltonian, t, qc, qubits, trotter=1): """ Simulates Hamiltonian given as Pauli string Parameters: hamiltonian: dict Dictionary encoding the hamiltonian with each Pauli product as a key with the coefficient as value t: float Time parameter to simulate for qc: QuantumCircuit Circuit to