From cdfbba8f7a47c5e5a39b6ae2d88980d7464cf01b Mon Sep 17 00:00:00 2001 From: Xinyi Joffre Date: Fri, 3 Oct 2025 20:32:49 -0700 Subject: [PATCH] Add shots param handling for base Target class --- azure-quantum/azure/quantum/target/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-quantum/azure/quantum/target/target.py b/azure-quantum/azure/quantum/target/target.py index c8e326a3..d0654909 100644 --- a/azure-quantum/azure/quantum/target/target.py +++ b/azure-quantum/azure/quantum/target/target.py @@ -55,7 +55,7 @@ class Target(abc.ABC, SessionHost): # Name of the provider's input parameter which specifies number of shots for a submitted job. # If None, target will not pass this input parameter. - _SHOTS_PARAM_NAME = None + _SHOTS_PARAM_NAME = "shots" def __init__( self,