code: def amp_phase_freq(amp, phase, freq, t, wire=0):
      """Compute the transmon drive term for given amplitude, phase and frequency."""
      return amp * (np.sin(phase + freq * t) * qml.PauliY(wire))
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.pulse import HardwareHamiltonian, transmon_interaction, transmon_drive
  from pennylane.pulse.transmon import TransmonSettings, a, ad, AmplitudeAndPhaseAndFreq, _reorder_AmpPhaseFreq, callable_freq_to_angular
  from pennylane.pulse.hardware_hamiltonian import HardwarePulse
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling a global function with example usage: amp_phase_freq(amp, phase, freq, t, wire) and returns: unknown