class_docstr: Tests additional methods and attributes
docstr: Test that the number of blocks attribute returns the correct number of blocks with offset.
docstr_tok: ["Test","that","the","number","of","blocks","attribute","returns","the","correct","number","of","blocks","with","offset","."]
code: def test_get_n_blocks_with_offset(
      self, wires, n_block_wires, offset, expected_n_blocks
  ):
      """Test that the number of blocks attribute returns the correct number of blocks with offset."""
  
      assert (
          qml.MPS.get_n_blocks(wires, n_block_wires, offset)
          == expected_n_blocks
      )
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.templates.tensornetworks.mps import compute_indices_MPS, MPS
label_desc: Use image node_id 4 for calling the TestAttributes obj's underlying member method code with example usage: obj.test_get_n_blocks_with_offset(wires, n_block_wires, offset, expected_n_blocks) without return types