class_docstr: Test inputs and pre-processing.
docstr: Verifies that exception raised if there are fewer
  wires than features.
docstr_tok: ["Verifies","that","exception","raised","if","there","are","fewer","wires","than","features","."]
code: def test_exception_fewer_qubits_than_features(
      self,
  ):
      """Verifies that exception raised if there are fewer
      wires than features."""
  
      features = [0, 0, 0, 0]
      n_wires = 1
      weights = np.zeros(shape=(1, 2 * n_wires))
      dev = qml.device("default.qubit", wires=n_wires)
  
      @qml.qnode(dev)
      def circuit(x=None):
          qml.QAOAEmbedding(
              features=x, weights=weights, wires=range(n_wires)
          )
          return [qml.expval(qml.PauliZ(i)) for i in range(n_wires)]
  
      with pytest.raises(ValueError, match="Features must be of "):
          circuit(x=features)
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 2 for calling the TestInputs obj's underlying member method code with example usage: obj.test_exception_fewer_qubits_than_features() and returns: unknown