Added check for symmetry of input adjacency matrix (#4494)
Added check for symmetry of input adjacency matrix (#4494)

* Added tests for HiddenLinearFunction

* Added test for HiddenLinearFunction

* Added test for HiddenLinearFunction

* Added check for symmetry of adjacency matrix

* removed test for hidden_linear_function.py

Removing the test added in a previous commit since the test can be done on a theoretical level rather than a functional level.

* Update test_library.py

* Update qiskit/circuit/library/hidden_linear_function.py

Co-authored-by: Julien Gacon <2578673985e8ae3d22330d3daafe06433268eaa0@gmail.com>

* Update qiskit/circuit/library/hidden_linear_function.py

Co-authored-by: Julien Gacon <2578673985e8ae3d22330d3daafe06433268eaa0@gmail.com>

* added raises CircuitError to class doc string

Co-authored-by: Julien Gacon <2578673985e8ae3d22330d3daafe06433268eaa0@gmail.com>
Co-authored-by: Julien Gacon <761ea7b8820f9c490794378c10a95bac00fe088d@googlemail.com>
QISKit/qiskit-sdk-py,QISKit/qiskit-sdk-py,QISKit/qiskit-sdk-py