Skip to content

Commit a512c8d

Browse files
authored
Add shots param handling for base Target class (microsoft#687)
1 parent 619c2f4 commit a512c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-quantum/azure/quantum/target/target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Target(abc.ABC, SessionHost):
5555

5656
# Name of the provider's input parameter which specifies number of shots for a submitted job.
5757
# If None, target will not pass this input parameter.
58-
_SHOTS_PARAM_NAME = None
58+
_SHOTS_PARAM_NAME = "shots"
5959

6060
def __init__(
6161
self,

0 commit comments

Comments
 (0)