class_docstr: Tests for the Interferometer from the pennylane.template.layers module.
class_docstr_tok: ["Tests","for","the","Interferometer","from","the","pennylane.template.layers","module","."]
docstr: Test that the shape method returns the correct shapes for
  the weight tensors
docstr_tok: ["Test","that","the","shape","method","returns","the","correct","shapes","for","the","weight","tensors"]
code: def test_shapes(self, n_wires, tol, expected):
      """Test that the shape method returns the correct shapes for
      the weight tensors"""
  
      shapes = qml.Interferometer.shape(n_wires)
      assert np.allclose(shapes, expected, atol=tol, rtol=0)
  
file_path: pennylane/tests/templates/test_subroutines/test_interferometer.py
imports: import pytest
  import numpy
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 12 for calling the TestInterferometer obj's underlying member method code with example usage: obj.test_shapes(n_wires, tol, expected) without return types