class_docstr: Test function that computes MERA indices
class_docstr_tok: ["Test","function","that","computes","MERA","indices"]
docstr: Verifies that an exception is raised if n_block_wires is not even.
docstr_tok: ["Verifies","that","an","exception","is","raised","if","n_block_wires","is","not","even","."]
code: def test_exception_n_block_wires_uneven(self, n_wires, n_block_wires):
      """Verifies that an exception is raised if n_block_wires is not even."""
  
      with pytest.raises(
          ValueError,
          match=f"n_block_wires must be an even integer; got {n_block_wires}",
      ):
          compute_indices(range(n_wires), n_block_wires)
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.templates.tensornetworks.mera import MERA, compute_indices
label_desc: Use image node_id 1 for calling the TestIndicesMERA obj's underlying member method code with example usage: obj.test_exception_n_block_wires_uneven(n_wires, n_block_wires) without return types