Generates a random observable with nbterms terms and nbqbits qbits.
nbqbits (int) – the number of qubits
nbterms (int) – the number of terms
a QLM observable
Observable