Quantum Computing, Quantum Physics, Programming, Physics, Science.
gates to simulate any Pauli string Parameters: arr: array Array encoding the Pauli string t: float Time parameter to simulate for qc: QuantumCircuit Circuit to append gates to qubits: array Array indicating qubits indeces (in order) to append the gates to """ new_arr = [] new_qub = [] for idx in