Generate the Hamiltonian of the graph.
| Parameters: |
|
|---|---|
| Returns: | : this creates a Hamiltonian matrix, accessed via the attribute Line3P.H. |
| Return type: |
Warning
The size of amp and d must be identical
>>> amp = [0.5,-1.,4.2]
>>> len(d) == len(amp)
True