Skip to content

Commit

Permalink
Added juqbox ipopt parametersd maxIter and lbfgsMax
Browse files Browse the repository at this point in the history
  • Loading branch information
leespen1 committed Mar 30, 2024
1 parent 4f4c3fb commit bf186bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/Publication/cnot3_optimization.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#==========================================================
This routine initializes an optimization problem to recover
a CNOT gate on a coupled 3-qubit system. In particular,
Expand Down Expand Up @@ -225,6 +224,10 @@ end
# min and max B-spline coefficient values
minCoeff, maxCoeff = Juqbox.assign_thresholds(params,D1,maxpar)

# for ipopt
maxIter = 150 # 0 # use the parameters on file # 100 # needs more than 100 iter to converge properly
lbfgsMax = 250 # optional argument

# output run information
println("*** Settings ***")
println("Frequencies: Alice = ", fa, " Bob = ", fb, " Storage = ", fs)
Expand Down

0 comments on commit bf186bc

Please sign in to comment.