class_docstr: Tests for the mutual information functions
class_docstr_tok: ["Tests","for","the","mutual","information","functions"]
docstr: Test that an error is raised when the subsystems overlap
docstr_tok: ["Test","that","an","error","is","raised","when","the","subsystems","overlap"]
code: def test_subsystem_overlap(self, state, wires0, wires1):
      """Test that an error is raised when the subsystems overlap"""
      with pytest.raises(
          ValueError,
          match="Subsystems for computing mutual information must not overlap",
      ):
          qml.math.mutual_info(state, indices0=wires0, indices1=wires1)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 2 for calling the TestMutualInformation obj's underlying member method code with example usage: obj.test_subsystem_overlap(state, wires0, wires1) without return types