qiskit.aqua.utils.random_h1_body¶ random_h1_body(N)[source]¶ Generate a random one body integrals. Paramètres N (int) – the number of spin orbitals. Renvoie a 2-D matrix with complex data type. Type renvoyé np.ndarray Lève ValueError – invalid number of spin orbitals