class_docstr: Tests that the template defines the correct decomposition.
class_docstr_tok: ["Tests","that","the","template","defines","the","correct","decomposition","."]
docstr: Tests fewer features than rotation gates.
docstr_tok: ["Tests","fewer","features","than","rotation","gates","."]
code: def test_fewer_features(self):
      """Tests fewer features than rotation gates."""
  
      features = [np.pi / 2, np.pi / 2, 0, np.pi / 2]
  
      dev = qml.device("default.qubit", wires=5)
  
      @qml.qnode(dev)
      def circuit(x=None):
          qml.AngleEmbedding(features=x, wires=range(5))
          return [qml.expval(qml.PauliZ(i)) for i in range(5)]
  
      res = circuit(x=features)
      target = [0, 0, 1, 0, 1]
      assert np.allclose(res, target)
  
imports: import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 5 for calling the TestDecomposition obj's underlying member method code with example usage: obj.test_fewer_features() and returns: unknown