class_docstr: Test template inputs and pre-processing (ensure the correct exceptions are thrown for the inputs)
class_docstr_tok: ["Test","template","inputs","and","pre-processing","(","ensure","the","correct","exceptions","are","thrown","for","the","inputs",")"]
docstr: Verify that the template works with arbitrary block parameters
docstr_tok: ["Verify","that","the","template","works","with","arbitrary","block","parameters"]
code: def test_block_params(
      self,
      block,
      n_params_block,
      wires,
      n_block_wires,
      template_weights,
  ):
      """Verify that the template works with arbitrary block parameters"""
      dev = qml.device("default.qubit", wires=wires)
  
      @qml.qnode(dev)
      def circuit():
          qml.MERA(
              wires,
              n_block_wires,
              block,
              n_params_block,
              template_weights,
          )
          return qml.expval(qml.PauliZ(wires=wires[-1]))
  
      circuit()
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.templates.tensornetworks.mera import MERA, compute_indices
label_desc: Use image node_id 4 for calling the TestTemplateInputs obj's underlying member method code with example usage: obj.test_block_params(block, n_params_block, wires, n_block_wires, template_weights) and returns: qml