class_docstr: Test the frobenius_inner_product method.
class_docstr_tok: ["Test","the","frobenius_inner_product","method","."]
docstr: Test that the calculated inner product is as expected.
docstr_tok: ["Test","that","the","calculated","inner","product","is","as","expected","."]
code: def test_frobenius_inner_product(self, A, B, normalize, expected):
      """Test that the calculated inner product is as expected."""
      assert expected == pytest.approx(
          fn.frobenius_inner_product(A, B, normalize=normalize)
      )
  
imports: import numpy
  import pytest
  from pennylane import numpy, math
label_desc: Use image node_id 1 for calling the TestFrobeniusInnerProduct obj's underlying member method code with example usage: obj.test_frobenius_inner_product(A, B, normalize, expected) without return types