If you’re having any trouble running your pyQuil programs locally or on the QPU, please check the following things before sending a support request. It will save you time and make it easier for us to help!
Ensure that your pyQuil version is up to date. If you’re using
pip, you can do this with
pip freeze. Within your script, you can use
import pyquil print(pyquil.__version__)
2. If the error appears to be authentication-related, refer to the QCS CLI documentation.
Run your script with debug logging enabled. If you’re running a script, you can enable that using an environment variable:
LOG_LEVEL=DEBUG pyquil my_script.py
import logging from pyquil.api._logger import logger logger.setLevel(logging.DEBUG)
If the problem still isn’t clear, then we can help! Please contact us at our support page. Thanks for using pyQuil!