qiskit.aqua.utils.random_h1_body¶
-
random_h1_body
(N)[código fonte]¶ Generate a random one body integrals.
- Parâmetros
N (int) – the number of spin orbitals.
- Retorna
a 2-D matrix with complex data type.
- Tipo de retorno
np.ndarray
- Levanta
ValueError – invalid number of spin orbitals