class_docstr: Test inputs and pre-processing.
class_docstr_tok: ["Test","inputs","and","pre-processing","."]
docstr: Verifies that exception is raised if the
  number of dimensions of features is incorrect.
docstr_tok: ["Verifies","that","exception","is","raised","if","the","number","of","dimensions","of","features","is","incorrect","."]
code: def test_exception_wrong_dim(self):
      """Verifies that exception is raised if the
      number of dimensions of features is incorrect."""
      n_subsystems = 2
      dev = qml.device("default.gaussian", wires=n_subsystems)
  
      @qml.qnode(dev)
      def circuit(x=None):
          qml.SqueezingEmbedding(features=x, wires=[0, 1])
          return qml.expval(qml.QuadX(0))
  
      with pytest.raises(
          ValueError, match="Features must be a one-dimensional"
      ):
          circuit(x=[[1], [0]])
  
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 3 for calling the TestInputs obj's underlying member method code with example usage: obj.test_exception_wrong_dim() and returns: qml