azure-quantum-python icon indicating copy to clipboard operation
azure-quantum-python copied to clipboard

"shots is not a known attribute of class JobDetails and will be ignored" when running VQE

Open guenp opened this issue 3 years ago • 2 comments

When running the Azure Quantum sample VQE, running on the Quantinuum emulator raises the following warning:

shots is not a known attribute of class <class 'azure.quantum._client.models._models_py3.JobDetails'> and will be ignored

It looks like the Quantinuum backend does not support shots, see: quantinuum.py.

guenp avatar May 24 '22 17:05 guenp

Run this sample to reproduce the issue: https://github.com/microsoft/Quantum/blob/feature/samples-gallery/samples/azure-quantum/variational-quantum-eigensolver/VQE-qiskit-hydrogen-quantinuum-emulator.ipynb

guenp avatar Jun 07 '22 21:06 guenp

+1 this caused some confusion for a customer I was speaking with too

frtibble avatar Jun 17 '22 10:06 frtibble