Skip to content

Commit

Permalink
fix: GateModelQuantumTaskResults field
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt-aws committed Aug 7, 2024
1 parent 683aeb5 commit 002409e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Braket"
uuid = "19504a0f-b47d-4348-9127-acc6cc69ef67"
authors = ["Katharine Hyatt <[email protected]>"]
version = "0.9.2"
version = "0.9.3"

[deps]
AWS = "fbe9abb3-538b-5e4e-ba9e-bc94f4f92ebc"
Expand Down
4 changes: 2 additions & 2 deletions PyBraket/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PyBraket"
uuid = "e85266a6-1825-490b-a80e-9b9469c53660"
authors = ["Katharine Hyatt <[email protected]>"]
version = "0.9.2"
version = "0.9.3"

[deps]
Braket = "19504a0f-b47d-4348-9127-acc6cc69ef67"
Expand All @@ -14,7 +14,7 @@ StructTypes = "856f2bd8-1eba-4b0a-8007-ebc267875bd4"

[compat]
Aqua = "=0.8"
Braket = "=0.9.2"
Braket = "=0.9.3"
CondaPkg = "=0.2.23"
DataStructures = "=0.18.20"
LinearAlgebra = "1.6"
Expand Down
2 changes: 1 addition & 1 deletion src/local_simulator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function simulate(d::LocalSimulator, task_specs::Vector{T}, args...; shots::Int=
end
end
@debug "batch size is $(length(task_specs)). Time to run internally: $(stats.time). GC time: $(stats.gctime)."
return LocalQuantumTaskBatch([local_result.result.task_metadata.id for local_result in results], results)
return LocalQuantumTaskBatch([local_result.task_metadata.id for local_result in results], results)

Check warning on line 141 in src/local_simulator.jl

View check run for this annotation

Codecov / codecov/patch

src/local_simulator.jl#L141

Added line #L141 was not covered by tests
end
(d::LocalSimulator)(args...; kwargs...) = simulate(d, args...; kwargs...)

Expand Down

0 comments on commit 002409e

Please sign in to comment.