qutip_qtrl.optimresult

Class containing the results of the pulse optimisation

Classes

OptimResult()

Attributes give the result of the pulse optimisation attempt

class qutip_qtrl.optimresult.OptimResult[source]

Attributes give the result of the pulse optimisation attempt

Attributes:
termination_reasonstring

Description of the reason for terminating the optimisation

fidelityfloat

final (normalised) fidelity that was achieved

initial_fid_errfloat

fidelity error before optimisation starting

fid_errfloat

final fidelity error that was achieved

goal_achievedboolean

True is the fidely error achieved was below the target

grad_norm_finalfloat

Final value of the sum of the squares of the (normalised) fidelity error gradients

grad_norm_min_reachedfloat

True if the optimisation terminated due to the minimum value of the gradient being reached

num_iterinteger

Number of iterations of the optimisation algorithm completed

max_iter_exceededboolean

True if the iteration limit was reached

max_fid_func_exceededboolean

True if the fidelity function call limit was reached

wall_timefloat

time elapsed during the optimisation

wall_time_limit_exceededboolean

True if the wall time limit was reached

timearray[num_tslots+1] of float

Time are the start of each timeslot with the final value being the total evolution time

initial_ampsarray[num_tslots, n_ctrls]

The amplitudes at the start of the optimisation

final_ampsarray[num_tslots, n_ctrls]

The amplitudes at the end of the optimisation

evo_full_finalQobj

The evolution operator from t=0 to t=T based on the final amps

evo_full_initialQobj

The evolution operator from t=0 to t=T based on the initial amps

statsStats

Object contaning the stats for the run (if any collected)

optimizerOptimizer

Instance of the Optimizer used to generate the result