Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ajberdy committed Nov 17, 2023
1 parent ef30424 commit e189311
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/braket/experimental/autoqasm/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def _convert_main(
parameters = inspect.signature(f).parameters

with aq_program.build_program(user_config) as program_conversion_context:
# Process the program
# Capture inputs
for param in parameters.values():
if param.kind == param.POSITIONAL_OR_KEYWORD:
kwargs[param.name] = FreeParameter(param.name)
Expand All @@ -251,6 +251,7 @@ def _convert_main(
else:
raise NotImplementedError

# Process the program
aq_transpiler.converted_call(f, (), kwargs, options=options)

# Modify program to add global declarations if necessary
Expand Down

0 comments on commit e189311

Please sign in to comment.