class_docstr: Tests that the template defines the correct decomposition.
docstr: Tests the parameter values in the circuit.
docstr_tok: ["Tests","the","parameter","values","in","the","circuit","."]
code: def test_circuit_parameters(self, n_wires, n_layers, shape_weights):
      """Tests the parameter values in the circuit."""
  
      initial_layer = np.random.randn(n_wires)
      weights = np.random.randn(*shape_weights)
  
      op = qml.SimplifiedTwoDesign(
          initial_layer, weights, wires=range(n_wires)
      )
      queue = op.expand().operations
  
      # test the device parameters
      for _ in range(n_layers):
          # only select the rotation gates
          ops = [gate for gate in queue if isinstance(gate, qml.RY)]
  
          # check each initial_layer gate parameters
          for n in range(n_wires):
              res_param = ops[n].parameters[0]
              exp_param = initial_layer[n]
              assert res_param == exp_param
  
          # check layer gate parameters
          ops = ops[n_wires:]
          exp_params = weights.flatten()
          for o, exp_param in zip(ops, exp_params):
              res_param = o.parameters[0]
              assert res_param == exp_param
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 2 for calling the TestDecomposition obj's underlying member method code with example usage: obj.test_circuit_parameters(n_wires, n_layers, shape_weights) without return types