count_keys¶
- count_keys(num_qubits)[source]¶
Return ordered count keys.
- Parameters
num_qubits (
int
) – The number of qubits in the generated list.- Return type
List
[str
]- Returns
The strings of all 0/1 combinations of the given number of qubits
Example
>>> count_keys(3) ['000', '001', '010', '011', '100', '101', '110', '111']