class_docstr: Unit tests for the ``transmon_interaction`` function.
docstr: Test that providing missmatching qubit_freq and wires raises error
docstr_tok: ["Test","that","providing","missmatching","qubit_freq","and","wires","raises","error"]
code: def test_qubit_freq_and_wires_dont_match(self):
      """Test that providing missmatching qubit_freq and wires raises error"""
      with pytest.raises(
          ValueError, match="Number of qubit frequencies"
      ):
          _ = transmon_interaction(
              qubit_freq=[1, 2, 3],
              wires=[0, 1],
              connections=[],
              coupling=[],
          )
  
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 8 for calling the TestTransmonInteraction obj's underlying member method code with example usage: obj.test_qubit_freq_and_wires_dont_match() without return types