When running dispatch_clops it looks like the system expects credentials for an IBM account to be available. This was unexpected as it was not required for dispatch_qv.py which works fine nor was this config part of the initial README.
(metriq-gym-py3.12) will@MacBook-Pro-66 metriq-gym % python metriq_gym/dispatch_clops.py
2024-11-11 13:15:06,410 - INFO - Dispatching CLOPS job with n=8, shots=8, trials=8, backend=qasm_simulator, confidence_level=0.025, jobs_file=.metriq_gym_jobs.json
Traceback (most recent call last):
File "/Users/will/Library/CloudStorage/GoogleDrive-zeng.will@gmail.com/My Drive/code/metriq-gym/metriq_gym/dispatch_clops.py", line 68, in <module>
sys.exit(main())
^^^^^^
File "/Users/will/Library/CloudStorage/GoogleDrive-zeng.will@gmail.com/My Drive/code/metriq-gym/metriq_gym/dispatch_clops.py", line 34, in main
service=QiskitRuntimeService(),
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/will/Library/Caches/pypoetry/virtualenvs/metriq-gym-UB4WfuaA-py3.12/lib/python3.12/site-packages/qiskit_ibm_runtime/qiskit_runtime_service.py", line 144, in __init__
self._account = self._discover_account(
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/will/Library/Caches/pypoetry/virtualenvs/metriq-gym-UB4WfuaA-py3.12/lib/python3.12/site-packages/qiskit_ibm_runtime/qiskit_runtime_service.py", line 267, in _discover_account
account = AccountManager.get(filename=filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/will/Library/Caches/pypoetry/virtualenvs/metriq-gym-UB4WfuaA-py3.12/lib/python3.12/site-packages/qiskit_ibm_runtime/accounts/management.py", line 197, in get
raise AccountNotFoundError("Unable to find account.")
qiskit_ibm_runtime.accounts.exceptions.AccountNotFoundError: 'Unable to find account.'
When running
dispatch_clops
it looks like the system expects credentials for an IBM account to be available. This was unexpected as it was not required fordispatch_qv.py
which works fine nor was this config part of the initial README.