The `get_qubits` function in the Python `pyquil.quil.Program` class is used to return a list of qubits that are involved in the quantum program. This method allows programmers to easily access and manipulate the qubits used in their quantum computations.
Python Program.get_qubits - 24 examples found. These are the top rated real world Python examples of pyquil.quil.Program.get_qubits extracted from open source projects. You can rate examples to help us improve the quality of examples.