German
Sprachen
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.aqua.utils.random_h1_body

random_h1_body(N)[Quellcode]

Generate a random one body integrals.

Parameter

N (int) – the number of spin orbitals.

Rückgabe

a 2-D matrix with complex data type.

Rückgabetyp

np.ndarray

Verursacht

ValueError – invalid number of spin orbitals