supergrad.utils.qiskit_interface.to_qiskit_drive_hamiltonian#
- supergrad.utils.qiskit_interface.to_qiskit_drive_hamiltonian(hamiltonian_component_and_pulseshape)[source]#
Convert the drive Hamiltonian to qiskit format.
- Parameters:
hamiltonian_component_and_pulseshape – The list of pair containing the time-dependent components of the Hamiltonian and corresponding pulse shape.
- Returns:
(list, list) The list of Hamiltonian operators and the list of signal in qiskit format.