qiskit.ignis.verification.count_keys¶
-
count_keys
(num_qubits)[source]¶ Return ordered count keys.
- Paramètres
num_qubits (
int
) – The number of qubits in the generated list.- Type renvoyé
List
[str
]- Renvoie
The strings of all 0/1 combinations of the given number of qubits
Exemple
>>> count_keys(3) ['000', '001', '010', '011', '100', '101', '110', '111']