Portuguese, Brazilian
Idiomas
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

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