Skip to content

Commit

Permalink
fix import from main
Browse files Browse the repository at this point in the history
  • Loading branch information
Coull committed Oct 7, 2024
1 parent 8e25245 commit 89984d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/braket/devices/local_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def _(self, program: OpenQASMProgram, inputs: Optional[dict[str, float]], _shots
return program

@_construct_payload.register
def _(self, program: SerializableProgram, inputs: Optional[dict[str, float]], _shots):
def _(self, program: SerializableProgram, inputs: dict[str, float] | None, _shots: int):
inputs_copy = inputs.copy() if inputs is not None else {}
return OpenQASMProgram(source=program.to_ir(ir_type=IRType.OPENQASM), inputs=inputs_copy)

Expand Down

0 comments on commit 89984d8

Please sign in to comment.