class_docstr: Test function that computes TTN indices
class_docstr_tok: ["Test","function","that","computes","TTN","indices"]
docstr: Verifies that an exception is raised when n_block_wires is too large.
docstr_tok: ["Verifies","that","an","exception","is","raised","when","n_block_wires","is","too","large","."]
code: def test_exception_n_block_wires_large(self, n_wires, n_block_wires):
      """Verifies that an exception is raised when n_block_wires is too large."""
  
      with pytest.raises(
          ValueError,
          match="n_block_wires must be smaller than or equal to the number of wires; "
          f"got n_block_wires = {n_block_wires} and number of wires = {n_wires}",
      ):
          compute_indices(range(n_wires), n_block_wires)
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.templates.tensornetworks.ttn import compute_indices, TTN
label_desc: Use image node_id 2 for calling the TestIndicesTTN obj's underlying member method code with example usage: obj.test_exception_n_block_wires_large(n_wires, n_block_wires) without return types