Skip to content

Commit

Permalink
fix: Don't return the julia Main module to unlock jupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt-aws committed Aug 28, 2024
1 parent 59f0dbd commit 92c313b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/braket/simulator_v2/base_simulator_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def setup_julia():
xx(theta) q;
yy(theta) q;
zz(theta) q;
#pragma braket noise bit_flip(0.1) q[0]
#pragma braket result probability
"""
r = jl.BraketSimulator.simulate(
Expand All @@ -73,7 +74,7 @@ def setup_julia():
"braket_dm_v2", dm_stock_oq3, '{"theta": 0.1}', 0
)
jl.JSON3.write(r)
return jl
return


def setup_pool():
Expand Down

0 comments on commit 92c313b

Please sign in to comment.