Last active
June 13, 2021 17:57
-
-
Save goerz/34af142b78d7e344417d838bbea78aaf to your computer and use it in GitHub Desktop.
Benchmarking of propagators. Notebook derived from https://qucontrol.github.io/krotov/v1.2.1/notebooks/06_example_3states.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg version="1.1" width="1200" height="1146" onload="init(evt)" viewBox="0 0 1200 1146" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><!--Flame graph stack visualization. See https://github.com/brendangregg/FlameGraph for latest version, and http://www.brendangregg.com/flamegraphs.html for examples.--><!--NOTES: --><defs><linearGradient id="background" y1="0" y2="1" x1="0" x2="0"><stop stop-color="#eeeeee" offset="5%"/><stop stop-color="#eeeeb0" offset="95%"/></linearGradient></defs><style type="text/css"> | |
text { font-family:"Verdana"; font-size:12px; fill:rgb(0,0,0); } | |
#title { text-anchor:middle; font-size:17px; } | |
#search { opacity:0.1; cursor:pointer; } | |
#search:hover, #search.show { opacity:1; } | |
#subtitle { text-anchor:middle; font-color:rgb(160,160,160); } | |
#unzoom { cursor:pointer; } | |
#frames > *:hover { stroke:black; stroke-width:0.5; cursor:pointer; } | |
.hide { display:none; } | |
.parent { opacity:0.5; } | |
</style><script type="text/ecmascript"><![CDATA[var nametype = 'Function:'; | |
var fontsize = 12; | |
var fontwidth = 0.59; | |
var xpad = 10; | |
var inverted = true; | |
var searchcolor = 'rgb(230,0,230)'; | |
var fluiddrawing = true; | |
var truncate_text_right = false;]]><![CDATA["use strict"; | |
var details, searchbtn, unzoombtn, matchedtxt, svg, searching, frames; | |
function init(evt) { | |
details = document.getElementById("details").firstChild; | |
searchbtn = document.getElementById("search"); | |
unzoombtn = document.getElementById("unzoom"); | |
matchedtxt = document.getElementById("matched"); | |
svg = document.getElementsByTagName("svg")[0]; | |
frames = document.getElementById("frames"); | |
searching = 0; | |
// Use GET parameters to restore a flamegraph's state. | |
var restore_state = function() { | |
var params = get_params(); | |
if (params.x && params.y) | |
zoom(find_group(document.querySelector('[x="' + params.x + '"][y="' + params.y + '"]'))); | |
if (params.s) | |
search(params.s); | |
}; | |
if (fluiddrawing) { | |
// Make width dynamic so the SVG fits its parent's width. | |
svg.removeAttribute("width"); | |
// Edge requires us to have a viewBox that gets updated with size changes. | |
var isEdge = /Edge\/\d./i.test(navigator.userAgent); | |
if (!isEdge) { | |
svg.removeAttribute("viewBox"); | |
} | |
var update_for_width_change = function() { | |
if (isEdge) { | |
svg.attributes.viewBox.value = "0 0 " + svg.width.baseVal.value + " " + svg.height.baseVal.value; | |
} | |
// Keep consistent padding on left and right of frames container. | |
frames.attributes.width.value = svg.width.baseVal.value - xpad * 2; | |
// Text truncation needs to be adjusted for the current width. | |
var el = frames.children; | |
for(var i = 0; i < el.length; i++) { | |
update_text(el[i]); | |
} | |
// Keep search elements at a fixed distance from right edge. | |
var svgWidth = svg.width.baseVal.value; | |
searchbtn.attributes.x.value = svgWidth - xpad - 100; | |
matchedtxt.attributes.x.value = svgWidth - xpad - 100; | |
}; | |
window.addEventListener('resize', function() { | |
update_for_width_change(); | |
}); | |
// This needs to be done asynchronously for Safari to work. | |
setTimeout(function() { | |
unzoom(); | |
update_for_width_change(); | |
restore_state(); | |
}, 0); | |
} else { | |
restore_state(); | |
} | |
} | |
// event listeners | |
window.addEventListener("click", function(e) { | |
var target = find_group(e.target); | |
if (target) { | |
if (target.nodeName == "a") { | |
if (e.ctrlKey === false) return; | |
e.preventDefault(); | |
} | |
if (target.classList.contains("parent")) unzoom(); | |
zoom(target); | |
// set parameters for zoom state | |
var el = target.querySelector("rect"); | |
if (el && el.attributes && el.attributes.y && el.attributes._orig_x) { | |
var params = get_params() | |
params.x = el.attributes._orig_x.value; | |
params.y = el.attributes.y.value; | |
history.replaceState(null, null, parse_params(params)); | |
} | |
} | |
else if (e.target.id == "unzoom") { | |
unzoom(); | |
// remove zoom state | |
var params = get_params(); | |
if (params.x) delete params.x; | |
if (params.y) delete params.y; | |
history.replaceState(null, null, parse_params(params)); | |
} | |
else if (e.target.id == "search") search_prompt(); | |
}, false) | |
// mouse-over for info | |
// show | |
window.addEventListener("mouseover", function(e) { | |
var target = find_group(e.target); | |
if (target) details.nodeValue = nametype + " " + g_to_text(target); | |
}, false) | |
// clear | |
window.addEventListener("mouseout", function(e) { | |
var target = find_group(e.target); | |
if (target) details.nodeValue = ' '; | |
}, false) | |
// ctrl-F for search | |
window.addEventListener("keydown",function (e) { | |
if (e.keyCode === 114 || (e.ctrlKey && e.keyCode === 70)) { | |
e.preventDefault(); | |
search_prompt(); | |
} | |
}, false) | |
// functions | |
function get_params() { | |
var params = {}; | |
var paramsarr = window.location.search.substr(1).split('&'); | |
for (var i = 0; i < paramsarr.length; ++i) { | |
var tmp = paramsarr[i].split("="); | |
if (!tmp[0] || !tmp[1]) continue; | |
params[tmp[0]] = decodeURIComponent(tmp[1]); | |
} | |
return params; | |
} | |
function parse_params(params) { | |
var uri = "?"; | |
for (var key in params) { | |
uri += key + '=' + encodeURIComponent(params[key]) + '&'; | |
} | |
if (uri.slice(-1) == "&") | |
uri = uri.substring(0, uri.length - 1); | |
if (uri == '?') | |
uri = window.location.href.split('?')[0]; | |
return uri; | |
} | |
function find_child(node, selector) { | |
var children = node.querySelectorAll(selector); | |
if (children.length) return children[0]; | |
return; | |
} | |
function find_group(node) { | |
var parent = node.parentElement; | |
if (!parent) return; | |
if (parent.id == "frames") return node; | |
return find_group(parent); | |
} | |
function orig_save(e, attr, val) { | |
if (e.attributes["_orig_" + attr] != undefined) return; | |
if (e.attributes[attr] == undefined) return; | |
if (val == undefined) val = e.attributes[attr].value; | |
e.setAttribute("_orig_" + attr, val); | |
} | |
function orig_load(e, attr) { | |
if (e.attributes["_orig_"+attr] == undefined) return; | |
e.attributes[attr].value = e.attributes["_orig_" + attr].value; | |
e.removeAttribute("_orig_" + attr); | |
} | |
function g_to_text(e) { | |
var text = find_child(e, "title").firstChild.nodeValue; | |
return (text) | |
} | |
function g_to_func(e) { | |
var func = g_to_text(e); | |
// if there's any manipulation we want to do to the function | |
// name before it's searched, do it here before returning. | |
return (func); | |
} | |
function update_text(e) { | |
var r = find_child(e, "rect"); | |
var t = find_child(e, "text"); | |
var w = parseFloat(r.attributes.width.value) * frames.attributes.width.value / 100 - 3; | |
var txt = find_child(e, "title").textContent.replace(/\([^(]*\)$/,""); | |
t.attributes.x.value = format_percent((parseFloat(r.attributes.x.value) + (100 * 3 / frames.attributes.width.value))); | |
// Smaller than this size won't fit anything | |
if (w < 2 * fontsize * fontwidth) { | |
t.textContent = ""; | |
return; | |
} | |
t.textContent = txt; | |
// Fit in full text width | |
if (/^ *\$/.test(txt) || t.getComputedTextLength() < w) | |
return; | |
if (truncate_text_right) { | |
// Truncate the right side of the text. | |
for (var x = txt.length - 2; x > 0; x--) { | |
if (t.getSubStringLength(0, x + 2) <= w) { | |
t.textContent = txt.substring(0, x) + ".."; | |
return; | |
} | |
} | |
} else { | |
// Truncate the left side of the text. | |
for (var x = 2; x < txt.length; x++) { | |
if (t.getSubStringLength(x - 2, txt.length) <= w) { | |
t.textContent = ".." + txt.substring(x, txt.length); | |
return; | |
} | |
} | |
} | |
t.textContent = ""; | |
} | |
// zoom | |
function zoom_reset(e) { | |
if (e.attributes != undefined) { | |
orig_load(e, "x"); | |
orig_load(e, "width"); | |
} | |
if (e.childNodes == undefined) return; | |
for(var i = 0, c = e.childNodes; i < c.length; i++) { | |
zoom_reset(c[i]); | |
} | |
} | |
function zoom_child(e, x, ratio) { | |
if (e.attributes != undefined) { | |
if (e.attributes.x != undefined) { | |
orig_save(e, "x"); | |
e.attributes.x.value = format_percent((parseFloat(e.attributes.x.value) - x) * ratio); | |
if (e.tagName == "text") { | |
e.attributes.x.value = format_percent(parseFloat(find_child(e.parentNode, "rect[x]").attributes.x.value) + (100 * 3 / frames.attributes.width.value)); | |
} | |
} | |
if (e.attributes.width != undefined) { | |
orig_save(e, "width"); | |
e.attributes.width.value = format_percent(parseFloat(e.attributes.width.value) * ratio); | |
} | |
} | |
if (e.childNodes == undefined) return; | |
for(var i = 0, c = e.childNodes; i < c.length; i++) { | |
zoom_child(c[i], x, ratio); | |
} | |
} | |
function zoom_parent(e) { | |
if (e.attributes) { | |
if (e.attributes.x != undefined) { | |
orig_save(e, "x"); | |
e.attributes.x.value = "0.0%"; | |
} | |
if (e.attributes.width != undefined) { | |
orig_save(e, "width"); | |
e.attributes.width.value = "100.0%"; | |
} | |
} | |
if (e.childNodes == undefined) return; | |
for(var i = 0, c = e.childNodes; i < c.length; i++) { | |
zoom_parent(c[i]); | |
} | |
} | |
function zoom(node) { | |
var attr = find_child(node, "rect").attributes; | |
var width = parseFloat(attr.width.value); | |
var xmin = parseFloat(attr.x.value); | |
var xmax = xmin + width; | |
var ymin = parseFloat(attr.y.value); | |
var ratio = 100 / width; | |
// XXX: Workaround for JavaScript float issues (fix me) | |
var fudge = 0.001; | |
unzoombtn.classList.remove("hide"); | |
var el = frames.children; | |
for (var i = 0; i < el.length; i++) { | |
var e = el[i]; | |
var a = find_child(e, "rect").attributes; | |
var ex = parseFloat(a.x.value); | |
var ew = parseFloat(a.width.value); | |
// Is it an ancestor | |
if (!inverted) { | |
var upstack = parseFloat(a.y.value) > ymin; | |
} else { | |
var upstack = parseFloat(a.y.value) < ymin; | |
} | |
if (upstack) { | |
// Direct ancestor | |
if (ex <= xmin && (ex+ew+fudge) >= xmax) { | |
e.classList.add("parent"); | |
zoom_parent(e); | |
update_text(e); | |
} | |
// not in current path | |
else | |
e.classList.add("hide"); | |
} | |
// Children maybe | |
else { | |
// no common path | |
if (ex < xmin || ex + fudge >= xmax) { | |
e.classList.add("hide"); | |
} | |
else { | |
zoom_child(e, xmin, ratio); | |
update_text(e); | |
} | |
} | |
} | |
} | |
function unzoom() { | |
unzoombtn.classList.add("hide"); | |
var el = frames.children; | |
for(var i = 0; i < el.length; i++) { | |
el[i].classList.remove("parent"); | |
el[i].classList.remove("hide"); | |
zoom_reset(el[i]); | |
update_text(el[i]); | |
} | |
} | |
// search | |
function reset_search() { | |
var el = document.querySelectorAll("#frames rect"); | |
for (var i = 0; i < el.length; i++) { | |
orig_load(el[i], "fill") | |
} | |
var params = get_params(); | |
delete params.s; | |
history.replaceState(null, null, parse_params(params)); | |
} | |
function search_prompt() { | |
if (!searching) { | |
var term = prompt("Enter a search term (regexp " + | |
"allowed, eg: ^ext4_)", ""); | |
if (term != null) { | |
search(term) | |
} | |
} else { | |
reset_search(); | |
searching = 0; | |
searchbtn.classList.remove("show"); | |
searchbtn.firstChild.nodeValue = "Search" | |
matchedtxt.classList.add("hide"); | |
matchedtxt.firstChild.nodeValue = "" | |
} | |
} | |
function search(term) { | |
var re = new RegExp(term); | |
var el = frames.children; | |
var matches = new Object(); | |
var maxwidth = 0; | |
for (var i = 0; i < el.length; i++) { | |
var e = el[i]; | |
var func = g_to_func(e); | |
var rect = find_child(e, "rect"); | |
if (func == null || rect == null) | |
continue; | |
// Save max width. Only works as we have a root frame | |
var w = parseFloat(rect.attributes.width.value); | |
if (w > maxwidth) | |
maxwidth = w; | |
if (func.match(re)) { | |
// highlight | |
var x = parseFloat(rect.attributes.x.value); | |
orig_save(rect, "fill"); | |
rect.attributes.fill.value = searchcolor; | |
// remember matches | |
if (matches[x] == undefined) { | |
matches[x] = w; | |
} else { | |
if (w > matches[x]) { | |
// overwrite with parent | |
matches[x] = w; | |
} | |
} | |
searching = 1; | |
} | |
} | |
if (!searching) | |
return; | |
var params = get_params(); | |
params.s = term; | |
history.replaceState(null, null, parse_params(params)); | |
searchbtn.classList.add("show"); | |
searchbtn.firstChild.nodeValue = "Reset Search"; | |
// calculate percent matched, excluding vertical overlap | |
var count = 0; | |
var lastx = -1; | |
var lastw = 0; | |
var keys = Array(); | |
for (k in matches) { | |
if (matches.hasOwnProperty(k)) | |
keys.push(k); | |
} | |
// sort the matched frames by their x location | |
// ascending, then width descending | |
keys.sort(function(a, b){ | |
return a - b; | |
}); | |
// Step through frames saving only the biggest bottom-up frames | |
// thanks to the sort order. This relies on the tree property | |
// where children are always smaller than their parents. | |
var fudge = 0.0001; // JavaScript floating point | |
for (var k in keys) { | |
var x = parseFloat(keys[k]); | |
var w = matches[keys[k]]; | |
if (x >= lastx + lastw - fudge) { | |
count += w; | |
lastx = x; | |
lastw = w; | |
} | |
} | |
// display matched percent | |
matchedtxt.classList.remove("hide"); | |
var pct = 100 * count / maxwidth; | |
if (pct != 100) pct = pct.toFixed(1); | |
matchedtxt.firstChild.nodeValue = "Matched: " + pct + "%"; | |
} | |
function format_percent(n) { | |
return n.toFixed(4) + "%"; | |
} | |
]]></script><rect x="0" y="0" width="100%" height="1146" fill="url(#background)"/><text id="title" x="50.0000%" y="24.00">../../.tox/py38/bin/py-spy record -o profile.svg -- ../../.tox/py38/bin/python 06_example_3states.py</text><text id="details" x="10" y="40.00"> </text><text id="unzoom" class="hide" x="10" y="24.00">Reset Zoom</text><text id="search" x="1090" y="24.00">Search</text><text id="matched" x="1090" y="1135.00"> </text><svg id="frames" x="10" width="1180"><g><title><module> (matplotlib/__init__.py:107) (16 samples, 0.18%)</title><rect x="0.0333%" y="260" width="0.1777%" height="15" fill="rgb(227,0,7)"/><text x="0.2833%" y="270.50"></text></g><g><title>_handle_fromlist (<frozen importlib._bootstrap>:1042) (16 samples, 0.18%)</title><rect x="0.0333%" y="276" width="0.1777%" height="15" fill="rgb(217,0,24)"/><text x="0.2833%" y="286.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (16 samples, 0.18%)</title><rect x="0.0333%" y="292" width="0.1777%" height="15" fill="rgb(221,193,54)"/><text x="0.2833%" y="302.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (16 samples, 0.18%)</title><rect x="0.0333%" y="308" width="0.1777%" height="15" fill="rgb(248,212,6)"/><text x="0.2833%" y="318.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (16 samples, 0.18%)</title><rect x="0.0333%" y="324" width="0.1777%" height="15" fill="rgb(208,68,35)"/><text x="0.2833%" y="334.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (16 samples, 0.18%)</title><rect x="0.0333%" y="340" width="0.1777%" height="15" fill="rgb(232,128,0)"/><text x="0.2833%" y="350.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (16 samples, 0.18%)</title><rect x="0.0333%" y="356" width="0.1777%" height="15" fill="rgb(207,160,47)"/><text x="0.2833%" y="366.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (16 samples, 0.18%)</title><rect x="0.0333%" y="372" width="0.1777%" height="15" fill="rgb(228,23,34)"/><text x="0.2833%" y="382.50"></text></g><g><title><module> (qutip/__init__.py:137) (19 samples, 0.21%)</title><rect x="0.0333%" y="164" width="0.2111%" height="15" fill="rgb(218,30,26)"/><text x="0.2833%" y="174.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (19 samples, 0.21%)</title><rect x="0.0333%" y="180" width="0.2111%" height="15" fill="rgb(220,122,19)"/><text x="0.2833%" y="190.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (19 samples, 0.21%)</title><rect x="0.0333%" y="196" width="0.2111%" height="15" fill="rgb(250,228,42)"/><text x="0.2833%" y="206.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (19 samples, 0.21%)</title><rect x="0.0333%" y="212" width="0.2111%" height="15" fill="rgb(240,193,28)"/><text x="0.2833%" y="222.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (19 samples, 0.21%)</title><rect x="0.0333%" y="228" width="0.2111%" height="15" fill="rgb(216,20,37)"/><text x="0.2833%" y="238.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (19 samples, 0.21%)</title><rect x="0.0333%" y="244" width="0.2111%" height="15" fill="rgb(206,188,39)"/><text x="0.2833%" y="254.50"></text></g><g><title><module> (qutip/__init__.py:149) (22 samples, 0.24%)</title><rect x="0.2444%" y="164" width="0.2444%" height="15" fill="rgb(217,207,13)"/><text x="0.4944%" y="174.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (22 samples, 0.24%)</title><rect x="0.2444%" y="180" width="0.2444%" height="15" fill="rgb(231,73,38)"/><text x="0.4944%" y="190.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (22 samples, 0.24%)</title><rect x="0.2444%" y="196" width="0.2444%" height="15" fill="rgb(225,20,46)"/><text x="0.4944%" y="206.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (22 samples, 0.24%)</title><rect x="0.2444%" y="212" width="0.2444%" height="15" fill="rgb(210,31,41)"/><text x="0.4944%" y="222.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (22 samples, 0.24%)</title><rect x="0.2444%" y="228" width="0.2444%" height="15" fill="rgb(221,200,47)"/><text x="0.4944%" y="238.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (22 samples, 0.24%)</title><rect x="0.2444%" y="244" width="0.2444%" height="15" fill="rgb(226,26,5)"/><text x="0.4944%" y="254.50"></text></g><g><title><module> (qutip/bloch.py:46) (12 samples, 0.13%)</title><rect x="0.4888%" y="260" width="0.1333%" height="15" fill="rgb(249,33,26)"/><text x="0.7388%" y="270.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (12 samples, 0.13%)</title><rect x="0.4888%" y="276" width="0.1333%" height="15" fill="rgb(235,183,28)"/><text x="0.7388%" y="286.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (12 samples, 0.13%)</title><rect x="0.4888%" y="292" width="0.1333%" height="15" fill="rgb(221,5,38)"/><text x="0.7388%" y="302.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (12 samples, 0.13%)</title><rect x="0.4888%" y="308" width="0.1333%" height="15" fill="rgb(247,18,42)"/><text x="0.7388%" y="318.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (12 samples, 0.13%)</title><rect x="0.4888%" y="324" width="0.1333%" height="15" fill="rgb(241,131,45)"/><text x="0.7388%" y="334.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (12 samples, 0.13%)</title><rect x="0.4888%" y="340" width="0.1333%" height="15" fill="rgb(249,31,29)"/><text x="0.7388%" y="350.50"></text></g><g><title><module> (IPython/__init__.py:55) (10 samples, 0.11%)</title><rect x="0.6221%" y="404" width="0.1111%" height="15" fill="rgb(225,111,53)"/><text x="0.8721%" y="414.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (10 samples, 0.11%)</title><rect x="0.6221%" y="420" width="0.1111%" height="15" fill="rgb(238,160,17)"/><text x="0.8721%" y="430.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (10 samples, 0.11%)</title><rect x="0.6221%" y="436" width="0.1111%" height="15" fill="rgb(214,148,48)"/><text x="0.8721%" y="446.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (10 samples, 0.11%)</title><rect x="0.6221%" y="452" width="0.1111%" height="15" fill="rgb(232,36,49)"/><text x="0.8721%" y="462.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (10 samples, 0.11%)</title><rect x="0.6221%" y="468" width="0.1111%" height="15" fill="rgb(209,103,24)"/><text x="0.8721%" y="478.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (10 samples, 0.11%)</title><rect x="0.6221%" y="484" width="0.1111%" height="15" fill="rgb(229,88,8)"/><text x="0.8721%" y="494.50"></text></g><g><title><module> (prompt_toolkit/buffer.py:36) (12 samples, 0.13%)</title><rect x="1.0553%" y="1028" width="0.1333%" height="15" fill="rgb(213,181,19)"/><text x="1.3053%" y="1038.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (12 samples, 0.13%)</title><rect x="1.0553%" y="1044" width="0.1333%" height="15" fill="rgb(254,191,54)"/><text x="1.3053%" y="1054.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (12 samples, 0.13%)</title><rect x="1.0553%" y="1060" width="0.1333%" height="15" fill="rgb(241,83,37)"/><text x="1.3053%" y="1070.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (12 samples, 0.13%)</title><rect x="1.0553%" y="1076" width="0.1333%" height="15" fill="rgb(233,36,39)"/><text x="1.3053%" y="1086.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (12 samples, 0.13%)</title><rect x="1.0553%" y="1092" width="0.1333%" height="15" fill="rgb(226,3,54)"/><text x="1.3053%" y="1102.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (12 samples, 0.13%)</title><rect x="1.0553%" y="1108" width="0.1333%" height="15" fill="rgb(245,192,40)"/><text x="1.3053%" y="1118.50"></text></g><g><title><module> (prompt_toolkit/application/application.py:42) (33 samples, 0.37%)</title><rect x="0.8998%" y="932" width="0.3666%" height="15" fill="rgb(238,167,29)"/><text x="1.1498%" y="942.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (33 samples, 0.37%)</title><rect x="0.8998%" y="948" width="0.3666%" height="15" fill="rgb(232,182,51)"/><text x="1.1498%" y="958.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (33 samples, 0.37%)</title><rect x="0.8998%" y="964" width="0.3666%" height="15" fill="rgb(231,60,39)"/><text x="1.1498%" y="974.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (33 samples, 0.37%)</title><rect x="0.8998%" y="980" width="0.3666%" height="15" fill="rgb(208,69,12)"/><text x="1.1498%" y="990.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (33 samples, 0.37%)</title><rect x="0.8998%" y="996" width="0.3666%" height="15" fill="rgb(235,93,37)"/><text x="1.1498%" y="1006.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (33 samples, 0.37%)</title><rect x="0.8998%" y="1012" width="0.3666%" height="15" fill="rgb(213,116,39)"/><text x="1.1498%" y="1022.50"></text></g><g><title><module> (prompt_toolkit/__init__.py:16) (38 samples, 0.42%)</title><rect x="0.8998%" y="740" width="0.4221%" height="15" fill="rgb(222,207,29)"/><text x="1.1498%" y="750.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (38 samples, 0.42%)</title><rect x="0.8998%" y="756" width="0.4221%" height="15" fill="rgb(206,96,30)"/><text x="1.1498%" y="766.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (38 samples, 0.42%)</title><rect x="0.8998%" y="772" width="0.4221%" height="15" fill="rgb(218,138,4)"/><text x="1.1498%" y="782.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (38 samples, 0.42%)</title><rect x="0.8998%" y="788" width="0.4221%" height="15" fill="rgb(250,191,14)"/><text x="1.1498%" y="798.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (38 samples, 0.42%)</title><rect x="0.8998%" y="804" width="0.4221%" height="15" fill="rgb(239,60,40)"/><text x="1.1498%" y="814.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (38 samples, 0.42%)</title><rect x="0.8998%" y="820" width="0.4221%" height="15" fill="rgb(206,27,48)"/><text x="1.1498%" y="830.50"></text></g><g><title><module> (prompt_toolkit/application/__init__.py:1) (38 samples, 0.42%)</title><rect x="0.8998%" y="836" width="0.4221%" height="15" fill="rgb(225,35,8)"/><text x="1.1498%" y="846.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (38 samples, 0.42%)</title><rect x="0.8998%" y="852" width="0.4221%" height="15" fill="rgb(250,213,24)"/><text x="1.1498%" y="862.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (38 samples, 0.42%)</title><rect x="0.8998%" y="868" width="0.4221%" height="15" fill="rgb(247,123,22)"/><text x="1.1498%" y="878.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (38 samples, 0.42%)</title><rect x="0.8998%" y="884" width="0.4221%" height="15" fill="rgb(231,138,38)"/><text x="1.1498%" y="894.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (38 samples, 0.42%)</title><rect x="0.8998%" y="900" width="0.4221%" height="15" fill="rgb(231,145,46)"/><text x="1.1498%" y="910.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (38 samples, 0.42%)</title><rect x="0.8998%" y="916" width="0.4221%" height="15" fill="rgb(251,118,11)"/><text x="1.1498%" y="926.50"></text></g><g><title><module> (IPython/terminal/interactiveshell.py:19) (45 samples, 0.50%)</title><rect x="0.8998%" y="596" width="0.4999%" height="15" fill="rgb(217,147,25)"/><text x="1.1498%" y="606.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (45 samples, 0.50%)</title><rect x="0.8998%" y="612" width="0.4999%" height="15" fill="rgb(247,81,37)"/><text x="1.1498%" y="622.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:961) (45 samples, 0.50%)</title><rect x="0.8998%" y="628" width="0.4999%" height="15" fill="rgb(209,12,38)"/><text x="1.1498%" y="638.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (45 samples, 0.50%)</title><rect x="0.8998%" y="644" width="0.4999%" height="15" fill="rgb(227,1,9)"/><text x="1.1498%" y="654.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (45 samples, 0.50%)</title><rect x="0.8998%" y="660" width="0.4999%" height="15" fill="rgb(248,47,43)"/><text x="1.1498%" y="670.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (45 samples, 0.50%)</title><rect x="0.8998%" y="676" width="0.4999%" height="15" fill="rgb(221,10,30)"/><text x="1.1498%" y="686.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (45 samples, 0.50%)</title><rect x="0.8998%" y="692" width="0.4999%" height="15" fill="rgb(210,229,1)"/><text x="1.1498%" y="702.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (45 samples, 0.50%)</title><rect x="0.8998%" y="708" width="0.4999%" height="15" fill="rgb(222,148,37)"/><text x="1.1498%" y="718.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (45 samples, 0.50%)</title><rect x="0.8998%" y="724" width="0.4999%" height="15" fill="rgb(234,67,33)"/><text x="1.1498%" y="734.50"></text></g><g><title><module> (IPython/terminal/embed.py:16) (58 samples, 0.64%)</title><rect x="0.8887%" y="500" width="0.6443%" height="15" fill="rgb(247,98,35)"/><text x="1.1387%" y="510.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (58 samples, 0.64%)</title><rect x="0.8887%" y="516" width="0.6443%" height="15" fill="rgb(247,138,52)"/><text x="1.1387%" y="526.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (58 samples, 0.64%)</title><rect x="0.8887%" y="532" width="0.6443%" height="15" fill="rgb(213,79,30)"/><text x="1.1387%" y="542.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (58 samples, 0.64%)</title><rect x="0.8887%" y="548" width="0.6443%" height="15" fill="rgb(246,177,23)"/><text x="1.1387%" y="558.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (57 samples, 0.63%)</title><rect x="0.8998%" y="564" width="0.6332%" height="15" fill="rgb(230,62,27)"/><text x="1.1498%" y="574.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (57 samples, 0.63%)</title><rect x="0.8998%" y="580" width="0.6332%" height="15" fill="rgb(216,154,8)"/><text x="1.1498%" y="590.50"></text></g><g><title><module> (qutip/__init__.py:161) (99 samples, 1.10%)</title><rect x="0.4888%" y="164" width="1.0998%" height="15" fill="rgb(244,35,45)"/><text x="0.7388%" y="174.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (99 samples, 1.10%)</title><rect x="0.4888%" y="180" width="1.0998%" height="15" fill="rgb(251,115,12)"/><text x="0.7388%" y="190.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (99 samples, 1.10%)</title><rect x="0.4888%" y="196" width="1.0998%" height="15" fill="rgb(240,54,50)"/><text x="0.7388%" y="206.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (99 samples, 1.10%)</title><rect x="0.4888%" y="212" width="1.0998%" height="15" fill="rgb(233,84,52)"/><text x="0.7388%" y="222.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (99 samples, 1.10%)</title><rect x="0.4888%" y="228" width="1.0998%" height="15" fill="rgb(207,117,47)"/><text x="0.7388%" y="238.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (99 samples, 1.10%)</title><rect x="0.4888%" y="244" width="1.0998%" height="15" fill="rgb(249,43,39)"/><text x="0.7388%" y="254.50"></text></g><g><title><module> (qutip/bloch.py:67) (87 samples, 0.97%)</title><rect x="0.6221%" y="260" width="0.9665%" height="15" fill="rgb(209,38,44)"/><text x="0.8721%" y="270.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (87 samples, 0.97%)</title><rect x="0.6221%" y="276" width="0.9665%" height="15" fill="rgb(236,212,23)"/><text x="0.8721%" y="286.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:961) (87 samples, 0.97%)</title><rect x="0.6221%" y="292" width="0.9665%" height="15" fill="rgb(242,79,21)"/><text x="0.8721%" y="302.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (87 samples, 0.97%)</title><rect x="0.6221%" y="308" width="0.9665%" height="15" fill="rgb(211,96,35)"/><text x="0.8721%" y="318.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (87 samples, 0.97%)</title><rect x="0.6221%" y="324" width="0.9665%" height="15" fill="rgb(253,215,40)"/><text x="0.8721%" y="334.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (87 samples, 0.97%)</title><rect x="0.6221%" y="340" width="0.9665%" height="15" fill="rgb(211,81,21)"/><text x="0.8721%" y="350.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (87 samples, 0.97%)</title><rect x="0.6221%" y="356" width="0.9665%" height="15" fill="rgb(208,190,38)"/><text x="0.8721%" y="366.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (87 samples, 0.97%)</title><rect x="0.6221%" y="372" width="0.9665%" height="15" fill="rgb(235,213,38)"/><text x="0.8721%" y="382.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (87 samples, 0.97%)</title><rect x="0.6221%" y="388" width="0.9665%" height="15" fill="rgb(237,122,38)"/><text x="0.8721%" y="398.50"></text></g><g><title><module> (IPython/__init__.py:56) (77 samples, 0.86%)</title><rect x="0.7332%" y="404" width="0.8554%" height="15" fill="rgb(244,218,35)"/><text x="0.9832%" y="414.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (77 samples, 0.86%)</title><rect x="0.7332%" y="420" width="0.8554%" height="15" fill="rgb(240,68,47)"/><text x="0.9832%" y="430.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (77 samples, 0.86%)</title><rect x="0.7332%" y="436" width="0.8554%" height="15" fill="rgb(210,16,53)"/><text x="0.9832%" y="446.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (77 samples, 0.86%)</title><rect x="0.7332%" y="452" width="0.8554%" height="15" fill="rgb(235,124,12)"/><text x="0.9832%" y="462.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (77 samples, 0.86%)</title><rect x="0.7332%" y="468" width="0.8554%" height="15" fill="rgb(224,169,11)"/><text x="0.9832%" y="478.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (77 samples, 0.86%)</title><rect x="0.7332%" y="484" width="0.8554%" height="15" fill="rgb(250,166,2)"/><text x="0.9832%" y="494.50"></text></g><g><title><module> (06_example_3states.py:12) (163 samples, 1.81%)</title><rect x="0.0000%" y="68" width="1.8107%" height="15" fill="rgb(242,216,29)"/><text x="0.2500%" y="78.50"><..</text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (163 samples, 1.81%)</title><rect x="0.0000%" y="84" width="1.8107%" height="15" fill="rgb(230,116,27)"/><text x="0.2500%" y="94.50">_..</text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (163 samples, 1.81%)</title><rect x="0.0000%" y="100" width="1.8107%" height="15" fill="rgb(228,99,48)"/><text x="0.2500%" y="110.50">_..</text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (163 samples, 1.81%)</title><rect x="0.0000%" y="116" width="1.8107%" height="15" fill="rgb(253,11,6)"/><text x="0.2500%" y="126.50">_..</text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (163 samples, 1.81%)</title><rect x="0.0000%" y="132" width="1.8107%" height="15" fill="rgb(247,143,39)"/><text x="0.2500%" y="142.50">e..</text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (163 samples, 1.81%)</title><rect x="0.0000%" y="148" width="1.8107%" height="15" fill="rgb(236,97,10)"/><text x="0.2500%" y="158.50">_..</text></g><g><title><module> (qutip/__init__.py:57) (10 samples, 0.11%)</title><rect x="1.6996%" y="164" width="0.1111%" height="15" fill="rgb(233,208,19)"/><text x="1.9496%" y="174.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (10 samples, 0.11%)</title><rect x="1.6996%" y="180" width="0.1111%" height="15" fill="rgb(216,164,2)"/><text x="1.9496%" y="190.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:961) (10 samples, 0.11%)</title><rect x="1.6996%" y="196" width="0.1111%" height="15" fill="rgb(220,129,5)"/><text x="1.9496%" y="206.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (10 samples, 0.11%)</title><rect x="1.6996%" y="212" width="0.1111%" height="15" fill="rgb(242,17,10)"/><text x="1.9496%" y="222.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (10 samples, 0.11%)</title><rect x="1.6996%" y="228" width="0.1111%" height="15" fill="rgb(242,107,0)"/><text x="1.9496%" y="238.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:961) (10 samples, 0.11%)</title><rect x="1.6996%" y="244" width="0.1111%" height="15" fill="rgb(251,28,31)"/><text x="1.9496%" y="254.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (10 samples, 0.11%)</title><rect x="1.6996%" y="260" width="0.1111%" height="15" fill="rgb(233,223,10)"/><text x="1.9496%" y="270.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (10 samples, 0.11%)</title><rect x="1.6996%" y="276" width="0.1111%" height="15" fill="rgb(215,21,27)"/><text x="1.9496%" y="286.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (10 samples, 0.11%)</title><rect x="1.6996%" y="292" width="0.1111%" height="15" fill="rgb(232,23,21)"/><text x="1.9496%" y="302.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (10 samples, 0.11%)</title><rect x="1.6996%" y="308" width="0.1111%" height="15" fill="rgb(244,5,23)"/><text x="1.9496%" y="318.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (10 samples, 0.11%)</title><rect x="1.6996%" y="324" width="0.1111%" height="15" fill="rgb(226,81,46)"/><text x="1.9496%" y="334.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (10 samples, 0.11%)</title><rect x="1.6996%" y="340" width="0.1111%" height="15" fill="rgb(247,70,30)"/><text x="1.9496%" y="350.50"></text></g><g><title><module> (qutip/cy/__init__.py:1) (10 samples, 0.11%)</title><rect x="1.6996%" y="356" width="0.1111%" height="15" fill="rgb(212,68,19)"/><text x="1.9496%" y="366.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (10 samples, 0.11%)</title><rect x="1.6996%" y="372" width="0.1111%" height="15" fill="rgb(240,187,13)"/><text x="1.9496%" y="382.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (10 samples, 0.11%)</title><rect x="1.6996%" y="388" width="0.1111%" height="15" fill="rgb(223,113,26)"/><text x="1.9496%" y="398.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (10 samples, 0.11%)</title><rect x="1.6996%" y="404" width="0.1111%" height="15" fill="rgb(206,192,2)"/><text x="1.9496%" y="414.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:1109) (10 samples, 0.11%)</title><rect x="1.6996%" y="420" width="0.1111%" height="15" fill="rgb(241,108,4)"/><text x="1.9496%" y="430.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (10 samples, 0.11%)</title><rect x="1.6996%" y="436" width="0.1111%" height="15" fill="rgb(247,173,49)"/><text x="1.9496%" y="446.50"></text></g><g><title>_find_and_load (<frozen importlib._bootstrap>:991) (10 samples, 0.11%)</title><rect x="1.6996%" y="452" width="0.1111%" height="15" fill="rgb(224,114,35)"/><text x="1.9496%" y="462.50"></text></g><g><title>_find_and_load_unlocked (<frozen importlib._bootstrap>:975) (10 samples, 0.11%)</title><rect x="1.6996%" y="468" width="0.1111%" height="15" fill="rgb(245,159,27)"/><text x="1.9496%" y="478.50"></text></g><g><title>_load_unlocked (<frozen importlib._bootstrap>:671) (10 samples, 0.11%)</title><rect x="1.6996%" y="484" width="0.1111%" height="15" fill="rgb(245,172,44)"/><text x="1.9496%" y="494.50"></text></g><g><title>exec_module (<frozen importlib._bootstrap_external>:783) (10 samples, 0.11%)</title><rect x="1.6996%" y="500" width="0.1111%" height="15" fill="rgb(236,23,11)"/><text x="1.9496%" y="510.50"></text></g><g><title>_call_with_frames_removed (<frozen importlib._bootstrap>:219) (10 samples, 0.11%)</title><rect x="1.6996%" y="516" width="0.1111%" height="15" fill="rgb(205,117,38)"/><text x="1.9496%" y="526.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (10 samples, 0.11%)</title><rect x="2.0440%" y="196" width="0.1111%" height="15" fill="rgb(237,72,25)"/><text x="2.2940%" y="206.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (10 samples, 0.11%)</title><rect x="2.0440%" y="212" width="0.1111%" height="15" fill="rgb(244,70,9)"/><text x="2.2940%" y="222.50"></text></g><g><title>prod (<__array_function__ internals>:5) (10 samples, 0.11%)</title><rect x="2.0440%" y="228" width="0.1111%" height="15" fill="rgb(217,125,39)"/><text x="2.2940%" y="238.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (10 samples, 0.11%)</title><rect x="2.0440%" y="244" width="0.1111%" height="15" fill="rgb(235,36,10)"/><text x="2.2940%" y="254.50"></text></g><g><title>_initialize_data (krotov/propagators.py:306) (12 samples, 0.13%)</title><rect x="2.0329%" y="164" width="0.1333%" height="15" fill="rgb(251,123,47)"/><text x="2.2829%" y="174.50"></text></g><g><title>type (qutip/qobj.py:2058) (12 samples, 0.13%)</title><rect x="2.0329%" y="180" width="0.1333%" height="15" fill="rgb(221,13,13)"/><text x="2.2829%" y="190.50"></text></g><g><title>_initialize (krotov/propagators.py:277) (28 samples, 0.31%)</title><rect x="1.9773%" y="148" width="0.3110%" height="15" fill="rgb(238,131,9)"/><text x="2.2273%" y="158.50"></text></g><g><title>_initialize_data (krotov/propagators.py:307) (11 samples, 0.12%)</title><rect x="2.1662%" y="164" width="0.1222%" height="15" fill="rgb(211,50,8)"/><text x="2.4162%" y="174.50"></text></g><g><title>_initialize_integrator (krotov/propagators.py:313) (10 samples, 0.11%)</title><rect x="2.2995%" y="164" width="0.1111%" height="15" fill="rgb(245,182,24)"/><text x="2.5495%" y="174.50"></text></g><g><title>__call__ (krotov/propagators.py:244) (44 samples, 0.49%)</title><rect x="1.9773%" y="132" width="0.4888%" height="15" fill="rgb(242,14,37)"/><text x="2.2273%" y="142.50"></text></g><g><title>_initialize (krotov/propagators.py:278) (16 samples, 0.18%)</title><rect x="2.2884%" y="148" width="0.1777%" height="15" fill="rgb(246,228,12)"/><text x="2.5384%" y="158.50"></text></g><g><title>_rhs (krotov/propagators.py:266) (26 samples, 0.29%)</title><rect x="4.7878%" y="180" width="0.2888%" height="15" fill="rgb(213,55,15)"/><text x="5.0378%" y="190.50"></text></g><g><title>_rhs (krotov/propagators.py:269) (185 samples, 2.06%)</title><rect x="5.0989%" y="180" width="2.0551%" height="15" fill="rgb(209,9,3)"/><text x="5.3489%" y="190.50">_..</text></g><g><title>__call__ (krotov/propagators.py:252) (828 samples, 9.20%)</title><rect x="2.4661%" y="132" width="9.1980%" height="15" fill="rgb(230,59,30)"/><text x="2.7161%" y="142.50">__call__ (kro..</text></g><g><title>integrate (scipy/integrate/_ode.py:433) (826 samples, 9.18%)</title><rect x="2.4883%" y="148" width="9.1757%" height="15" fill="rgb(209,121,21)"/><text x="2.7383%" y="158.50">integrate (sc..</text></g><g><title>run (scipy/integrate/_ode.py:1009) (825 samples, 9.16%)</title><rect x="2.4994%" y="164" width="9.1646%" height="15" fill="rgb(220,109,13)"/><text x="2.7494%" y="174.50">run (scipy/in..</text></g><g><title>_rhs (krotov/propagators.py:273) (394 samples, 4.38%)</title><rect x="7.2873%" y="180" width="4.3768%" height="15" fill="rgb(232,18,1)"/><text x="7.5373%" y="190.50">_rhs ..</text></g><g><title>type_from_dims (qutip/dimensions.py:65) (15 samples, 0.17%)</title><rect x="11.7418%" y="180" width="0.1666%" height="15" fill="rgb(215,41,42)"/><text x="11.9918%" y="190.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (13 samples, 0.14%)</title><rect x="11.7641%" y="196" width="0.1444%" height="15" fill="rgb(224,123,36)"/><text x="12.0141%" y="206.50"></text></g><g><title>prod (<__array_function__ internals>:5) (10 samples, 0.11%)</title><rect x="11.7974%" y="212" width="0.1111%" height="15" fill="rgb(240,125,3)"/><text x="12.0474%" y="222.50"></text></g><g><title>__init__ (qutip/qobj.py:360) (16 samples, 0.18%)</title><rect x="11.7418%" y="148" width="0.1777%" height="15" fill="rgb(205,98,50)"/><text x="11.9918%" y="158.50"></text></g><g><title>type (qutip/qobj.py:2058) (16 samples, 0.18%)</title><rect x="11.7418%" y="164" width="0.1777%" height="15" fill="rgb(205,185,37)"/><text x="11.9918%" y="174.50"></text></g><g><title>__call__ (krotov/propagators.py:254) (22 samples, 0.24%)</title><rect x="11.6863%" y="132" width="0.2444%" height="15" fill="rgb(238,207,15)"/><text x="11.9363%" y="142.50"></text></g><g><title>__call__ (krotov/propagators.py:255) (12 samples, 0.13%)</title><rect x="11.9307%" y="132" width="0.1333%" height="15" fill="rgb(213,199,42)"/><text x="12.1807%" y="142.50"></text></g><g><title>optimize_pulses (krotov/optimize.py:302) (913 samples, 10.14%)</title><rect x="1.9551%" y="84" width="10.1422%" height="15" fill="rgb(235,201,11)"/><text x="2.2051%" y="94.50">optimize_pulses..</text></g><g><title>serial_map (qutip/parallel.py:189) (913 samples, 10.14%)</title><rect x="1.9551%" y="100" width="10.1422%" height="15" fill="rgb(207,46,11)"/><text x="2.2051%" y="110.50">serial_map (qut..</text></g><g><title>_forward_propagation (krotov/optimize.py:833) (911 samples, 10.12%)</title><rect x="1.9773%" y="116" width="10.1200%" height="15" fill="rgb(241,35,35)"/><text x="2.2273%" y="126.50">_forward_propag..</text></g><g><title>_backward_propagation (krotov/optimize.py:866) (14 samples, 0.16%)</title><rect x="12.1084%" y="116" width="0.1555%" height="15" fill="rgb(243,32,47)"/><text x="12.3584%" y="126.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (26 samples, 0.29%)</title><rect x="12.4528%" y="196" width="0.2888%" height="15" fill="rgb(247,202,23)"/><text x="12.7028%" y="206.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (24 samples, 0.27%)</title><rect x="12.4750%" y="212" width="0.2666%" height="15" fill="rgb(219,102,11)"/><text x="12.7250%" y="222.50"></text></g><g><title>prod (<__array_function__ internals>:5) (19 samples, 0.21%)</title><rect x="12.5305%" y="228" width="0.2111%" height="15" fill="rgb(243,110,44)"/><text x="12.7805%" y="238.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (14 samples, 0.16%)</title><rect x="12.5861%" y="244" width="0.1555%" height="15" fill="rgb(222,74,54)"/><text x="12.8361%" y="254.50"></text></g><g><title>_initialize_data (krotov/propagators.py:306) (28 samples, 0.31%)</title><rect x="12.4417%" y="164" width="0.3110%" height="15" fill="rgb(216,99,12)"/><text x="12.6917%" y="174.50"></text></g><g><title>type (qutip/qobj.py:2058) (28 samples, 0.31%)</title><rect x="12.4417%" y="180" width="0.3110%" height="15" fill="rgb(226,22,26)"/><text x="12.6917%" y="190.50"></text></g><g><title>toarray (scipy/sparse/compressed.py:1031) (10 samples, 0.11%)</title><rect x="12.7860%" y="196" width="0.1111%" height="15" fill="rgb(217,163,10)"/><text x="13.0360%" y="206.50"></text></g><g><title>full (qutip/qobj.py:1115) (18 samples, 0.20%)</title><rect x="12.7860%" y="180" width="0.2000%" height="15" fill="rgb(213,25,53)"/><text x="13.0360%" y="190.50"></text></g><g><title>prod (<__array_function__ internals>:5) (10 samples, 0.11%)</title><rect x="13.1082%" y="196" width="0.1111%" height="15" fill="rgb(252,105,26)"/><text x="13.3582%" y="206.50"></text></g><g><title>_initialize (krotov/propagators.py:277) (82 samples, 0.91%)</title><rect x="12.3306%" y="148" width="0.9109%" height="15" fill="rgb(220,39,43)"/><text x="12.5806%" y="158.50"></text></g><g><title>_initialize_data (krotov/propagators.py:307) (44 samples, 0.49%)</title><rect x="12.7527%" y="164" width="0.4888%" height="15" fill="rgb(229,68,48)"/><text x="13.0027%" y="174.50"></text></g><g><title>mat2vec (qutip/superoperator.py:319) (23 samples, 0.26%)</title><rect x="12.9860%" y="180" width="0.2555%" height="15" fill="rgb(252,8,32)"/><text x="13.2360%" y="190.50"></text></g><g><title>set_integrator (scipy/integrate/_ode.py:396) (14 samples, 0.16%)</title><rect x="13.5637%" y="180" width="0.1555%" height="15" fill="rgb(223,20,43)"/><text x="13.8137%" y="190.50"></text></g><g><title>_initialize_integrator (krotov/propagators.py:313) (42 samples, 0.47%)</title><rect x="13.2637%" y="164" width="0.4666%" height="15" fill="rgb(229,81,49)"/><text x="13.5137%" y="174.50"></text></g><g><title>reset (scipy/integrate/_ode.py:1083) (10 samples, 0.11%)</title><rect x="13.8858%" y="196" width="0.1111%" height="15" fill="rgb(236,28,36)"/><text x="14.1358%" y="206.50"></text></g><g><title>_initialize_integrator (krotov/propagators.py:324) (30 samples, 0.33%)</title><rect x="13.7303%" y="164" width="0.3333%" height="15" fill="rgb(249,185,26)"/><text x="13.9803%" y="174.50"></text></g><g><title>set_initial_value (scipy/integrate/_ode.py:371) (18 samples, 0.20%)</title><rect x="13.8636%" y="180" width="0.2000%" height="15" fill="rgb(249,174,33)"/><text x="14.1136%" y="190.50"></text></g><g><title>__call__ (krotov/propagators.py:244) (164 samples, 1.82%)</title><rect x="12.3084%" y="132" width="1.8218%" height="15" fill="rgb(233,201,37)"/><text x="12.5584%" y="142.50">_..</text></g><g><title>_initialize (krotov/propagators.py:278) (80 samples, 0.89%)</title><rect x="13.2415%" y="148" width="0.8887%" height="15" fill="rgb(221,78,26)"/><text x="13.4915%" y="158.50"></text></g><g><title>_rhs (krotov/propagators.py:266) (88 samples, 0.98%)</title><rect x="20.9287%" y="180" width="0.9776%" height="15" fill="rgb(250,127,30)"/><text x="21.1787%" y="190.50"></text></g><g><title>_rhs (krotov/propagators.py:269) (592 samples, 6.58%)</title><rect x="21.9840%" y="180" width="6.5763%" height="15" fill="rgb(230,49,44)"/><text x="22.2340%" y="190.50">_rhs (kro..</text></g><g><title>_rhs (krotov/propagators.py:270) (21 samples, 0.23%)</title><rect x="28.5603%" y="180" width="0.2333%" height="15" fill="rgb(229,67,23)"/><text x="28.8103%" y="190.50"></text></g><g><title>run (scipy/integrate/_ode.py:1009) (2,706 samples, 30.06%)</title><rect x="14.1968%" y="164" width="30.0600%" height="15" fill="rgb(249,83,47)"/><text x="14.4468%" y="174.50">run (scipy/integrate/_ode.py:1009)</text></g><g><title>_rhs (krotov/propagators.py:273) (1,382 samples, 15.35%)</title><rect x="28.9047%" y="180" width="15.3521%" height="15" fill="rgb(215,43,3)"/><text x="29.1547%" y="190.50">_rhs (krotov/propagators..</text></g><g><title>integrate (scipy/integrate/_ode.py:433) (2,715 samples, 30.16%)</title><rect x="14.1413%" y="148" width="30.1600%" height="15" fill="rgb(238,154,13)"/><text x="14.3913%" y="158.50">integrate (scipy/integrate/_ode.py:433)</text></g><g><title>__call__ (krotov/propagators.py:252) (2,717 samples, 30.18%)</title><rect x="14.1302%" y="132" width="30.1822%" height="15" fill="rgb(219,56,2)"/><text x="14.3802%" y="142.50">__call__ (krotov/propagators.py:252)</text></g><g><title>__init__ (qutip/qobj.py:310) (17 samples, 0.19%)</title><rect x="44.4124%" y="148" width="0.1888%" height="15" fill="rgb(233,0,4)"/><text x="44.6624%" y="158.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:71) (11 samples, 0.12%)</title><rect x="44.7900%" y="244" width="0.1222%" height="15" fill="rgb(235,30,7)"/><text x="45.0400%" y="254.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (38 samples, 0.42%)</title><rect x="44.6679%" y="180" width="0.4221%" height="15" fill="rgb(250,79,13)"/><text x="44.9179%" y="190.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (38 samples, 0.42%)</title><rect x="44.6679%" y="196" width="0.4221%" height="15" fill="rgb(211,146,34)"/><text x="44.9179%" y="206.50"></text></g><g><title>prod (<__array_function__ internals>:5) (29 samples, 0.32%)</title><rect x="44.7678%" y="212" width="0.3222%" height="15" fill="rgb(228,22,38)"/><text x="45.0178%" y="222.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (29 samples, 0.32%)</title><rect x="44.7678%" y="228" width="0.3222%" height="15" fill="rgb(235,168,5)"/><text x="45.0178%" y="238.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (12 samples, 0.13%)</title><rect x="44.9567%" y="244" width="0.1333%" height="15" fill="rgb(221,155,16)"/><text x="45.2067%" y="254.50"></text></g><g><title>__call__ (krotov/propagators.py:254) (72 samples, 0.80%)</title><rect x="44.3235%" y="132" width="0.7998%" height="15" fill="rgb(215,215,53)"/><text x="44.5735%" y="142.50"></text></g><g><title>__init__ (qutip/qobj.py:360) (43 samples, 0.48%)</title><rect x="44.6456%" y="148" width="0.4777%" height="15" fill="rgb(223,4,10)"/><text x="44.8956%" y="158.50"></text></g><g><title>type (qutip/qobj.py:2058) (42 samples, 0.47%)</title><rect x="44.6567%" y="164" width="0.4666%" height="15" fill="rgb(234,103,6)"/><text x="44.9067%" y="174.50"></text></g><g><title>__call__ (krotov/propagators.py:255) (33 samples, 0.37%)</title><rect x="45.1233%" y="132" width="0.3666%" height="15" fill="rgb(227,97,0)"/><text x="45.3733%" y="142.50"></text></g><g><title>_backward_propagation (krotov/optimize.py:874) (3,001 samples, 33.34%)</title><rect x="12.2750%" y="116" width="33.3370%" height="15" fill="rgb(234,150,53)"/><text x="12.5250%" y="126.50">_backward_propagation (krotov/optimize.py:874)</text></g><g><title>__call__ (krotov/propagators.py:256) (11 samples, 0.12%)</title><rect x="45.4899%" y="132" width="0.1222%" height="15" fill="rgb(228,201,54)"/><text x="45.7399%" y="142.50"></text></g><g><title>optimize_pulses (krotov/optimize.py:413) (3,020 samples, 33.55%)</title><rect x="12.0973%" y="84" width="33.5481%" height="15" fill="rgb(222,22,37)"/><text x="12.3473%" y="94.50">optimize_pulses (krotov/optimize.py:413)</text></g><g><title>serial_map (qutip/parallel.py:189) (3,019 samples, 33.54%)</title><rect x="12.1084%" y="100" width="33.5370%" height="15" fill="rgb(237,53,32)"/><text x="12.3584%" y="110.50">serial_map (qutip/parallel.py:189)</text></g><g><title>__init__ (qutip/fastsparse.py:51) (10 samples, 0.11%)</title><rect x="45.9342%" y="148" width="0.1111%" height="15" fill="rgb(233,25,53)"/><text x="46.1842%" y="158.50"></text></g><g><title>__init__ (qutip/qobj.py:279) (30 samples, 0.33%)</title><rect x="45.8787%" y="132" width="0.3333%" height="15" fill="rgb(210,40,34)"/><text x="46.1287%" y="142.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (59 samples, 0.66%)</title><rect x="46.2120%" y="164" width="0.6554%" height="15" fill="rgb(241,220,44)"/><text x="46.4620%" y="174.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (55 samples, 0.61%)</title><rect x="46.2564%" y="180" width="0.6110%" height="15" fill="rgb(235,28,35)"/><text x="46.5064%" y="190.50"></text></g><g><title>prod (<__array_function__ internals>:5) (44 samples, 0.49%)</title><rect x="46.3786%" y="196" width="0.4888%" height="15" fill="rgb(210,56,17)"/><text x="46.6286%" y="206.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (43 samples, 0.48%)</title><rect x="46.3897%" y="212" width="0.4777%" height="15" fill="rgb(224,130,29)"/><text x="46.6397%" y="222.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (24 samples, 0.27%)</title><rect x="46.6008%" y="228" width="0.2666%" height="15" fill="rgb(235,212,8)"/><text x="46.8508%" y="238.50"></text></g><g><title>__mul__ (qutip/qobj.py:597) (100 samples, 1.11%)</title><rect x="45.8232%" y="116" width="1.1109%" height="15" fill="rgb(223,33,50)"/><text x="46.0732%" y="126.50"></text></g><g><title>__init__ (qutip/qobj.py:360) (65 samples, 0.72%)</title><rect x="46.2120%" y="132" width="0.7221%" height="15" fill="rgb(219,149,13)"/><text x="46.4620%" y="142.50"></text></g><g><title>type (qutip/qobj.py:2058) (65 samples, 0.72%)</title><rect x="46.2120%" y="148" width="0.7221%" height="15" fill="rgb(250,156,29)"/><text x="46.4620%" y="158.50"></text></g><g><title>asarray (numpy/core/_asarray.py:102) (12 samples, 0.13%)</title><rect x="47.4228%" y="180" width="0.1333%" height="15" fill="rgb(216,193,19)"/><text x="47.6728%" y="190.50"></text></g><g><title>_with_data (qutip/fastsparse.py:353) (14 samples, 0.16%)</title><rect x="47.4117%" y="164" width="0.1555%" height="15" fill="rgb(216,135,14)"/><text x="47.6617%" y="174.50"></text></g><g><title>_with_data (qutip/fastsparse.py:355) (31 samples, 0.34%)</title><rect x="47.5672%" y="164" width="0.3444%" height="15" fill="rgb(241,47,5)"/><text x="47.8172%" y="174.50"></text></g><g><title>__mul__ (scipy/sparse/base.py:475) (80 samples, 0.89%)</title><rect x="47.0562%" y="132" width="0.8887%" height="15" fill="rgb(233,42,35)"/><text x="47.3062%" y="142.50"></text></g><g><title>_mul_scalar (scipy/sparse/data.py:124) (79 samples, 0.88%)</title><rect x="47.0673%" y="148" width="0.8776%" height="15" fill="rgb(231,13,6)"/><text x="47.3173%" y="158.50"></text></g><g><title>__mul__ (qutip/qobj.py:598) (94 samples, 1.04%)</title><rect x="46.9340%" y="116" width="1.0442%" height="15" fill="rgb(207,181,40)"/><text x="47.1840%" y="126.50"></text></g><g><title>__mul__ (qutip/qobj.py:602) (40 samples, 0.44%)</title><rect x="47.9782%" y="116" width="0.4443%" height="15" fill="rgb(254,173,49)"/><text x="48.2282%" y="126.50"></text></g><g><title>tidyup (qutip/qobj.py:1427) (38 samples, 0.42%)</title><rect x="48.0004%" y="132" width="0.4221%" height="15" fill="rgb(221,1,38)"/><text x="48.2504%" y="142.50"></text></g><g><title>derivative_wrt_pulse (krotov/mu.py:132) (293 samples, 3.25%)</title><rect x="45.7565%" y="100" width="3.2548%" height="15" fill="rgb(206,124,46)"/><text x="46.0065%" y="110.50">der..</text></g><g><title>__mul__ (qutip/qobj.py:604) (53 samples, 0.59%)</title><rect x="48.4226%" y="116" width="0.5888%" height="15" fill="rgb(249,21,11)"/><text x="48.6726%" y="126.50"></text></g><g><title>isherm (qutip/qobj.py:2013) (51 samples, 0.57%)</title><rect x="48.4448%" y="132" width="0.5665%" height="15" fill="rgb(222,201,40)"/><text x="48.6948%" y="142.50"></text></g><g><title>optimize_pulses (krotov/optimize.py:457) (304 samples, 3.38%)</title><rect x="45.6787%" y="84" width="3.3770%" height="15" fill="rgb(235,61,29)"/><text x="45.9287%" y="94.50">opt..</text></g><g><title>flatten (qutip/dimensions.py:113) (16 samples, 0.18%)</title><rect x="49.2668%" y="164" width="0.1777%" height="15" fill="rgb(219,207,3)"/><text x="49.5168%" y="174.50"></text></g><g><title>flatten (qutip/dimensions.py:113) (10 samples, 0.11%)</title><rect x="49.3335%" y="180" width="0.1111%" height="15" fill="rgb(222,56,46)"/><text x="49.5835%" y="190.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (88 samples, 0.98%)</title><rect x="49.1780%" y="132" width="0.9776%" height="15" fill="rgb(239,76,54)"/><text x="49.4280%" y="142.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (86 samples, 0.96%)</title><rect x="49.2002%" y="148" width="0.9553%" height="15" fill="rgb(231,124,27)"/><text x="49.4502%" y="158.50"></text></g><g><title>prod (<__array_function__ internals>:5) (61 samples, 0.68%)</title><rect x="49.4779%" y="164" width="0.6776%" height="15" fill="rgb(249,195,6)"/><text x="49.7279%" y="174.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (54 samples, 0.60%)</title><rect x="49.5557%" y="180" width="0.5999%" height="15" fill="rgb(237,174,47)"/><text x="49.8057%" y="190.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (33 samples, 0.37%)</title><rect x="49.7889%" y="196" width="0.3666%" height="15" fill="rgb(206,201,31)"/><text x="50.0389%" y="206.50"></text></g><g><title>type (qutip/qobj.py:2058) (99 samples, 1.10%)</title><rect x="49.1446%" y="116" width="1.0998%" height="15" fill="rgb(231,57,52)"/><text x="49.3946%" y="126.50"></text></g><g><title>__call__ (qutip/qobj.py:798) (101 samples, 1.12%)</title><rect x="49.1335%" y="100" width="1.1220%" height="15" fill="rgb(248,177,22)"/><text x="49.3835%" y="110.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (25 samples, 0.28%)</title><rect x="50.2777%" y="132" width="0.2777%" height="15" fill="rgb(215,211,37)"/><text x="50.5277%" y="142.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (25 samples, 0.28%)</title><rect x="50.2777%" y="148" width="0.2777%" height="15" fill="rgb(241,128,51)"/><text x="50.5277%" y="158.50"></text></g><g><title>prod (<__array_function__ internals>:5) (24 samples, 0.27%)</title><rect x="50.2888%" y="164" width="0.2666%" height="15" fill="rgb(227,165,31)"/><text x="50.5388%" y="174.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (22 samples, 0.24%)</title><rect x="50.3110%" y="180" width="0.2444%" height="15" fill="rgb(228,167,24)"/><text x="50.5610%" y="190.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (18 samples, 0.20%)</title><rect x="50.3555%" y="196" width="0.2000%" height="15" fill="rgb(228,143,12)"/><text x="50.6055%" y="206.50"></text></g><g><title>__call__ (qutip/qobj.py:799) (29 samples, 0.32%)</title><rect x="50.2555%" y="100" width="0.3222%" height="15" fill="rgb(249,149,8)"/><text x="50.5055%" y="110.50"></text></g><g><title>type (qutip/qobj.py:2058) (29 samples, 0.32%)</title><rect x="50.2555%" y="116" width="0.3222%" height="15" fill="rgb(243,35,44)"/><text x="50.5055%" y="126.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (65 samples, 0.72%)</title><rect x="50.6110%" y="164" width="0.7221%" height="15" fill="rgb(246,89,9)"/><text x="50.8610%" y="174.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (62 samples, 0.69%)</title><rect x="50.6443%" y="180" width="0.6887%" height="15" fill="rgb(233,213,13)"/><text x="50.8943%" y="190.50"></text></g><g><title>prod (<__array_function__ internals>:5) (49 samples, 0.54%)</title><rect x="50.7887%" y="196" width="0.5443%" height="15" fill="rgb(233,141,41)"/><text x="51.0387%" y="206.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (47 samples, 0.52%)</title><rect x="50.8109%" y="212" width="0.5221%" height="15" fill="rgb(239,167,4)"/><text x="51.0609%" y="222.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (27 samples, 0.30%)</title><rect x="51.0331%" y="228" width="0.2999%" height="15" fill="rgb(209,217,16)"/><text x="51.2831%" y="238.50"></text></g><g><title>type (qutip/qobj.py:2058) (71 samples, 0.79%)</title><rect x="50.5888%" y="148" width="0.7887%" height="15" fill="rgb(219,88,35)"/><text x="50.8388%" y="158.50"></text></g><g><title>vector_to_operator (qutip/superoperator.py:302) (73 samples, 0.81%)</title><rect x="50.5776%" y="116" width="0.8109%" height="15" fill="rgb(220,193,23)"/><text x="50.8276%" y="126.50"></text></g><g><title>isoperket (qutip/qobj.py:2083) (73 samples, 0.81%)</title><rect x="50.5776%" y="132" width="0.8109%" height="15" fill="rgb(230,90,52)"/><text x="50.8276%" y="142.50"></text></g><g><title>vector_to_operator (qutip/superoperator.py:308) (30 samples, 0.33%)</title><rect x="51.3997%" y="116" width="0.3333%" height="15" fill="rgb(252,106,19)"/><text x="51.6497%" y="126.50"></text></g><g><title>prod (<__array_function__ internals>:5) (28 samples, 0.31%)</title><rect x="51.4219%" y="132" width="0.3110%" height="15" fill="rgb(206,74,20)"/><text x="51.6719%" y="142.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (26 samples, 0.29%)</title><rect x="51.4441%" y="148" width="0.2888%" height="15" fill="rgb(230,138,44)"/><text x="51.6941%" y="158.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (15 samples, 0.17%)</title><rect x="51.5663%" y="164" width="0.1666%" height="15" fill="rgb(235,182,43)"/><text x="51.8163%" y="174.50"></text></g><g><title>__init__ (qutip/qobj.py:310) (12 samples, 0.13%)</title><rect x="51.9107%" y="132" width="0.1333%" height="15" fill="rgb(242,16,51)"/><text x="52.1607%" y="142.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (59 samples, 0.66%)</title><rect x="52.0773%" y="164" width="0.6554%" height="15" fill="rgb(248,9,4)"/><text x="52.3273%" y="174.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (55 samples, 0.61%)</title><rect x="52.1218%" y="180" width="0.6110%" height="15" fill="rgb(210,31,22)"/><text x="52.3718%" y="190.50"></text></g><g><title>prod (<__array_function__ internals>:5) (42 samples, 0.47%)</title><rect x="52.2662%" y="196" width="0.4666%" height="15" fill="rgb(239,54,39)"/><text x="52.5162%" y="206.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (39 samples, 0.43%)</title><rect x="52.2995%" y="212" width="0.4332%" height="15" fill="rgb(230,99,41)"/><text x="52.5495%" y="222.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (26 samples, 0.29%)</title><rect x="52.4439%" y="228" width="0.2888%" height="15" fill="rgb(253,106,12)"/><text x="52.6939%" y="238.50"></text></g><g><title>type (qutip/qobj.py:2058) (64 samples, 0.71%)</title><rect x="52.0551%" y="148" width="0.7110%" height="15" fill="rgb(213,46,41)"/><text x="52.3051%" y="158.50"></text></g><g><title>vector_to_operator (qutip/superoperator.py:309) (94 samples, 1.04%)</title><rect x="51.7329%" y="116" width="1.0442%" height="15" fill="rgb(215,133,35)"/><text x="51.9829%" y="126.50"></text></g><g><title>__init__ (qutip/qobj.py:360) (65 samples, 0.72%)</title><rect x="52.0551%" y="132" width="0.7221%" height="15" fill="rgb(213,28,5)"/><text x="52.3051%" y="142.50"></text></g><g><title>__getattr__ (scipy/sparse/base.py:677) (87 samples, 0.97%)</title><rect x="52.9771%" y="132" width="0.9665%" height="15" fill="rgb(215,77,49)"/><text x="53.2271%" y="142.50"></text></g><g><title>transpose (qutip/fastsparse.py:366) (85 samples, 0.94%)</title><rect x="52.9993%" y="148" width="0.9442%" height="15" fill="rgb(248,100,22)"/><text x="53.2493%" y="158.50"></text></g><g><title>__call__ (qutip/qobj.py:803) (372 samples, 4.13%)</title><rect x="50.5776%" y="100" width="4.1324%" height="15" fill="rgb(208,67,9)"/><text x="50.8276%" y="110.50">__cal..</text></g><g><title>vector_to_operator (qutip/superoperator.py:310) (174 samples, 1.93%)</title><rect x="52.7772%" y="116" width="1.9329%" height="15" fill="rgb(219,133,21)"/><text x="53.0272%" y="126.50">v..</text></g><g><title>sp_reshape (qutip/sparse.py:171) (68 samples, 0.76%)</title><rect x="53.9547%" y="132" width="0.7554%" height="15" fill="rgb(246,46,29)"/><text x="54.2047%" y="142.50"></text></g><g><title>__init__ (qutip/fastsparse.py:51) (11 samples, 0.12%)</title><rect x="54.8656%" y="148" width="0.1222%" height="15" fill="rgb(246,185,52)"/><text x="55.1156%" y="158.50"></text></g><g><title>__init__ (qutip/fastsparse.py:53) (11 samples, 0.12%)</title><rect x="55.0322%" y="148" width="0.1222%" height="15" fill="rgb(252,136,11)"/><text x="55.2822%" y="158.50"></text></g><g><title>__init__ (qutip/qobj.py:279) (31 samples, 0.34%)</title><rect x="54.8434%" y="132" width="0.3444%" height="15" fill="rgb(219,138,53)"/><text x="55.0934%" y="142.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (55 samples, 0.61%)</title><rect x="55.2433%" y="164" width="0.6110%" height="15" fill="rgb(211,51,23)"/><text x="55.4933%" y="174.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (52 samples, 0.58%)</title><rect x="55.2766%" y="180" width="0.5776%" height="15" fill="rgb(247,221,28)"/><text x="55.5266%" y="190.50"></text></g><g><title>prod (<__array_function__ internals>:5) (37 samples, 0.41%)</title><rect x="55.4432%" y="196" width="0.4110%" height="15" fill="rgb(251,222,45)"/><text x="55.6932%" y="206.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (33 samples, 0.37%)</title><rect x="55.4877%" y="212" width="0.3666%" height="15" fill="rgb(217,162,53)"/><text x="55.7377%" y="222.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (25 samples, 0.28%)</title><rect x="55.5765%" y="228" width="0.2777%" height="15" fill="rgb(229,93,14)"/><text x="55.8265%" y="238.50"></text></g><g><title>type (qutip/qobj.py:2058) (60 samples, 0.67%)</title><rect x="55.2211%" y="148" width="0.6665%" height="15" fill="rgb(209,67,49)"/><text x="55.4711%" y="158.50"></text></g><g><title>__init__ (qutip/qobj.py:360) (63 samples, 0.70%)</title><rect x="55.1988%" y="132" width="0.6998%" height="15" fill="rgb(213,87,29)"/><text x="55.4488%" y="142.50"></text></g><g><title>__mul__ (qutip/qobj.py:513) (101 samples, 1.12%)</title><rect x="54.7878%" y="116" width="1.1220%" height="15" fill="rgb(205,151,52)"/><text x="55.0378%" y="126.50"></text></g><g><title>__mul__ (scipy/sparse/base.py:473) (12 samples, 0.13%)</title><rect x="55.9653%" y="132" width="0.1333%" height="15" fill="rgb(253,215,39)"/><text x="56.2153%" y="142.50"></text></g><g><title>isscalarlike (scipy/sparse/sputils.py:195) (12 samples, 0.13%)</title><rect x="55.9653%" y="148" width="0.1333%" height="15" fill="rgb(221,220,41)"/><text x="56.2153%" y="158.50"></text></g><g><title>__mul__ (qutip/qobj.py:514) (215 samples, 2.39%)</title><rect x="55.9098%" y="116" width="2.3884%" height="15" fill="rgb(218,133,21)"/><text x="56.1598%" y="126.50">__..</text></g><g><title>__mul__ (scipy/sparse/base.py:480) (196 samples, 2.18%)</title><rect x="56.1209%" y="132" width="2.1773%" height="15" fill="rgb(221,193,43)"/><text x="56.3709%" y="142.50">_..</text></g><g><title>_mul_sparse_matrix (qutip/fastsparse.py:188) (194 samples, 2.16%)</title><rect x="56.1431%" y="148" width="2.1551%" height="15" fill="rgb(240,128,52)"/><text x="56.3931%" y="158.50">_..</text></g><g><title>eliminate_zeros (scipy/sparse/compressed.py:1059) (14 samples, 0.16%)</title><rect x="58.5870%" y="148" width="0.1555%" height="15" fill="rgb(253,114,12)"/><text x="58.8370%" y="158.50"></text></g><g><title>__mul__ (qutip/qobj.py:518) (38 samples, 0.42%)</title><rect x="58.3315%" y="116" width="0.4221%" height="15" fill="rgb(215,223,47)"/><text x="58.5815%" y="126.50"></text></g><g><title>tidyup (qutip/qobj.py:1428) (24 samples, 0.27%)</title><rect x="58.4870%" y="132" width="0.2666%" height="15" fill="rgb(248,225,23)"/><text x="58.7370%" y="142.50"></text></g><g><title>__init__ (qutip/qobj.py:310) (14 samples, 0.16%)</title><rect x="58.9647%" y="132" width="0.1555%" height="15" fill="rgb(250,108,0)"/><text x="59.2147%" y="142.50"></text></g><g><title>operator_to_vector (qutip/superoperator.py:276) (29 samples, 0.32%)</title><rect x="58.8314%" y="116" width="0.3222%" height="15" fill="rgb(228,208,7)"/><text x="59.0814%" y="126.50"></text></g><g><title>__getattr__ (scipy/sparse/base.py:677) (35 samples, 0.39%)</title><rect x="59.1757%" y="132" width="0.3888%" height="15" fill="rgb(244,45,10)"/><text x="59.4257%" y="142.50"></text></g><g><title>transpose (qutip/fastsparse.py:366) (35 samples, 0.39%)</title><rect x="59.1757%" y="148" width="0.3888%" height="15" fill="rgb(207,125,25)"/><text x="59.4257%" y="158.50"></text></g><g><title>operator_to_vector (qutip/superoperator.py:277) (104 samples, 1.16%)</title><rect x="59.1535%" y="116" width="1.1553%" height="15" fill="rgb(210,195,18)"/><text x="59.4035%" y="126.50"></text></g><g><title>sp_reshape (qutip/sparse.py:171) (66 samples, 0.73%)</title><rect x="59.5756%" y="132" width="0.7332%" height="15" fill="rgb(249,80,12)"/><text x="59.8256%" y="142.50"></text></g><g><title>__call__ (qutip/qobj.py:804) (505 samples, 5.61%)</title><rect x="54.7101%" y="100" width="5.6099%" height="15" fill="rgb(221,65,9)"/><text x="54.9601%" y="110.50">__call_..</text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (33 samples, 0.37%)</title><rect x="60.6310%" y="180" width="0.3666%" height="15" fill="rgb(235,49,36)"/><text x="60.8810%" y="190.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (16 samples, 0.18%)</title><rect x="60.8198%" y="196" width="0.1777%" height="15" fill="rgb(225,32,20)"/><text x="61.0698%" y="206.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (59 samples, 0.66%)</title><rect x="60.3533%" y="132" width="0.6554%" height="15" fill="rgb(215,141,46)"/><text x="60.6033%" y="142.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (59 samples, 0.66%)</title><rect x="60.3533%" y="148" width="0.6554%" height="15" fill="rgb(250,160,47)"/><text x="60.6033%" y="158.50"></text></g><g><title>prod (<__array_function__ internals>:5) (38 samples, 0.42%)</title><rect x="60.5865%" y="164" width="0.4221%" height="15" fill="rgb(216,222,40)"/><text x="60.8365%" y="174.50"></text></g><g><title>_overlap (krotov/second_order.py:75) (65 samples, 0.72%)</title><rect x="60.3199%" y="100" width="0.7221%" height="15" fill="rgb(234,217,39)"/><text x="60.5699%" y="110.50"></text></g><g><title>type (qutip/qobj.py:2058) (63 samples, 0.70%)</title><rect x="60.3421%" y="116" width="0.6998%" height="15" fill="rgb(207,178,40)"/><text x="60.5921%" y="126.50"></text></g><g><title>__init__ (qutip/qobj.py:279) (13 samples, 0.14%)</title><rect x="61.1531%" y="132" width="0.1444%" height="15" fill="rgb(221,136,13)"/><text x="61.4031%" y="142.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (42 samples, 0.47%)</title><rect x="61.3086%" y="164" width="0.4666%" height="15" fill="rgb(249,199,10)"/><text x="61.5586%" y="174.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (40 samples, 0.44%)</title><rect x="61.3308%" y="180" width="0.4443%" height="15" fill="rgb(249,222,13)"/><text x="61.5808%" y="190.50"></text></g><g><title>prod (<__array_function__ internals>:5) (34 samples, 0.38%)</title><rect x="61.3975%" y="196" width="0.3777%" height="15" fill="rgb(244,185,38)"/><text x="61.6475%" y="206.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (33 samples, 0.37%)</title><rect x="61.4086%" y="212" width="0.3666%" height="15" fill="rgb(236,202,9)"/><text x="61.6586%" y="222.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (16 samples, 0.18%)</title><rect x="61.5974%" y="228" width="0.1777%" height="15" fill="rgb(250,229,37)"/><text x="61.8474%" y="238.50"></text></g><g><title>__mul__ (qutip/qobj.py:513) (62 samples, 0.69%)</title><rect x="61.1198%" y="116" width="0.6887%" height="15" fill="rgb(206,174,23)"/><text x="61.3698%" y="126.50"></text></g><g><title>__init__ (qutip/qobj.py:360) (46 samples, 0.51%)</title><rect x="61.2975%" y="132" width="0.5110%" height="15" fill="rgb(211,33,43)"/><text x="61.5475%" y="142.50"></text></g><g><title>type (qutip/qobj.py:2058) (45 samples, 0.50%)</title><rect x="61.3086%" y="148" width="0.4999%" height="15" fill="rgb(245,58,50)"/><text x="61.5586%" y="158.50"></text></g><g><title>__mul__ (scipy/sparse/base.py:480) (292 samples, 3.24%)</title><rect x="61.9640%" y="132" width="3.2437%" height="15" fill="rgb(244,68,36)"/><text x="62.2140%" y="142.50">__m..</text></g><g><title>_mul_sparse_matrix (qutip/fastsparse.py:188) (285 samples, 3.17%)</title><rect x="62.0418%" y="148" width="3.1660%" height="15" fill="rgb(232,229,15)"/><text x="62.2918%" y="158.50">_mu..</text></g><g><title>__mul__ (qutip/qobj.py:514) (310 samples, 3.44%)</title><rect x="61.8085%" y="116" width="3.4437%" height="15" fill="rgb(254,30,23)"/><text x="62.0585%" y="126.50">__m..</text></g><g><title>tidyup (qutip/qobj.py:1427) (12 samples, 0.13%)</title><rect x="65.3633%" y="132" width="0.1333%" height="15" fill="rgb(235,160,14)"/><text x="65.6133%" y="142.50"></text></g><g><title>__mul__ (qutip/qobj.py:518) (39 samples, 0.43%)</title><rect x="65.3188%" y="116" width="0.4332%" height="15" fill="rgb(212,155,44)"/><text x="65.5688%" y="126.50"></text></g><g><title>tidyup (qutip/qobj.py:1428) (23 samples, 0.26%)</title><rect x="65.4966%" y="132" width="0.2555%" height="15" fill="rgb(226,2,50)"/><text x="65.7466%" y="142.50"></text></g><g><title>eliminate_zeros (scipy/sparse/compressed.py:1059) (12 samples, 0.13%)</title><rect x="65.6188%" y="148" width="0.1333%" height="15" fill="rgb(234,177,6)"/><text x="65.8688%" y="158.50"></text></g><g><title>optimize_pulses (krotov/optimize.py:466) (1,533 samples, 17.03%)</title><rect x="49.0669%" y="84" width="17.0295%" height="15" fill="rgb(217,24,9)"/><text x="49.3169%" y="94.50">optimize_pulses (krotov/op..</text></g><g><title>_overlap (krotov/second_order.py:77) (454 samples, 5.04%)</title><rect x="61.0531%" y="100" width="5.0433%" height="15" fill="rgb(220,13,46)"/><text x="61.3031%" y="110.50">_overl..</text></g><g><title>tr (qutip/qobj.py:1072) (18 samples, 0.20%)</title><rect x="65.8965%" y="116" width="0.2000%" height="15" fill="rgb(239,221,27)"/><text x="66.1465%" y="126.50"></text></g><g><title>isherm (qutip/qobj.py:2013) (10 samples, 0.11%)</title><rect x="65.9853%" y="132" width="0.1111%" height="15" fill="rgb(222,198,25)"/><text x="66.2353%" y="142.50"></text></g><g><title>_initialize (krotov/propagators.py:277) (31 samples, 0.34%)</title><rect x="66.2964%" y="148" width="0.3444%" height="15" fill="rgb(211,99,13)"/><text x="66.5464%" y="158.50"></text></g><g><title>_initialize_data (krotov/propagators.py:307) (28 samples, 0.31%)</title><rect x="66.3297%" y="164" width="0.3110%" height="15" fill="rgb(232,111,31)"/><text x="66.5797%" y="174.50"></text></g><g><title>mat2vec (qutip/superoperator.py:319) (18 samples, 0.20%)</title><rect x="66.4408%" y="180" width="0.2000%" height="15" fill="rgb(245,82,37)"/><text x="66.6908%" y="190.50"></text></g><g><title>prod (<__array_function__ internals>:5) (12 samples, 0.13%)</title><rect x="66.5074%" y="196" width="0.1333%" height="15" fill="rgb(227,149,46)"/><text x="66.7574%" y="206.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (11 samples, 0.12%)</title><rect x="66.5186%" y="212" width="0.1222%" height="15" fill="rgb(218,36,50)"/><text x="66.7686%" y="222.50"></text></g><g><title>set_integrator (scipy/integrate/_ode.py:385) (10 samples, 0.11%)</title><rect x="66.7407%" y="180" width="0.1111%" height="15" fill="rgb(226,80,48)"/><text x="66.9907%" y="190.50"></text></g><g><title>_initialize_integrator (krotov/propagators.py:313) (41 samples, 0.46%)</title><rect x="66.6852%" y="164" width="0.4555%" height="15" fill="rgb(238,224,15)"/><text x="66.9352%" y="174.50"></text></g><g><title>set_integrator (scipy/integrate/_ode.py:396) (15 samples, 0.17%)</title><rect x="66.9740%" y="180" width="0.1666%" height="15" fill="rgb(241,136,10)"/><text x="67.2240%" y="190.50"></text></g><g><title>reset (scipy/integrate/_ode.py:1083) (10 samples, 0.11%)</title><rect x="67.2850%" y="196" width="0.1111%" height="15" fill="rgb(208,32,45)"/><text x="67.5350%" y="206.50"></text></g><g><title>_initialize_integrator (krotov/propagators.py:324) (26 samples, 0.29%)</title><rect x="67.1517%" y="164" width="0.2888%" height="15" fill="rgb(207,135,9)"/><text x="67.4017%" y="174.50"></text></g><g><title>set_initial_value (scipy/integrate/_ode.py:371) (15 samples, 0.17%)</title><rect x="67.2739%" y="180" width="0.1666%" height="15" fill="rgb(206,86,44)"/><text x="67.5239%" y="190.50"></text></g><g><title>__call__ (krotov/propagators.py:244) (110 samples, 1.22%)</title><rect x="66.2964%" y="132" width="1.2220%" height="15" fill="rgb(245,177,15)"/><text x="66.5464%" y="142.50"></text></g><g><title>_initialize (krotov/propagators.py:278) (79 samples, 0.88%)</title><rect x="66.6407%" y="148" width="0.8776%" height="15" fill="rgb(206,64,50)"/><text x="66.8907%" y="158.50"></text></g><g><title>_rhs (krotov/propagators.py:266) (100 samples, 1.11%)</title><rect x="74.8056%" y="180" width="1.1109%" height="15" fill="rgb(234,36,40)"/><text x="75.0556%" y="190.50"></text></g><g><title>_rhs (krotov/propagators.py:269) (629 samples, 6.99%)</title><rect x="75.9942%" y="180" width="6.9873%" height="15" fill="rgb(213,64,8)"/><text x="76.2442%" y="190.50">_rhs (kro..</text></g><g><title>_rhs (krotov/propagators.py:270) (30 samples, 0.33%)</title><rect x="82.9816%" y="180" width="0.3333%" height="15" fill="rgb(210,75,36)"/><text x="83.2316%" y="190.50"></text></g><g><title>run (scipy/integrate/_ode.py:1009) (2,788 samples, 30.97%)</title><rect x="67.5850%" y="164" width="30.9709%" height="15" fill="rgb(229,88,21)"/><text x="67.8350%" y="174.50">run (scipy/integrate/_ode.py:1009)</text></g><g><title>_rhs (krotov/propagators.py:273) (1,363 samples, 15.14%)</title><rect x="83.4148%" y="180" width="15.1411%" height="15" fill="rgb(252,204,47)"/><text x="83.6648%" y="190.50">_rhs (krotov/propagator..</text></g><g><title>__call__ (krotov/propagators.py:252) (2,799 samples, 31.09%)</title><rect x="67.5183%" y="132" width="31.0931%" height="15" fill="rgb(208,77,27)"/><text x="67.7683%" y="142.50">__call__ (krotov/propagators.py:252)</text></g><g><title>integrate (scipy/integrate/_ode.py:433) (2,797 samples, 31.07%)</title><rect x="67.5405%" y="148" width="31.0709%" height="15" fill="rgb(221,76,26)"/><text x="67.7905%" y="158.50">integrate (scipy/integrate/_ode.py:433)</text></g><g><title>__init__ (qutip/qobj.py:310) (15 samples, 0.17%)</title><rect x="98.6670%" y="148" width="0.1666%" height="15" fill="rgb(225,139,18)"/><text x="98.9170%" y="158.50"></text></g><g><title>__call__ (krotov/propagators.py:254) (73 samples, 0.81%)</title><rect x="98.6225%" y="132" width="0.8109%" height="15" fill="rgb(230,137,11)"/><text x="98.8725%" y="142.50"></text></g><g><title>__init__ (qutip/qobj.py:360) (53 samples, 0.59%)</title><rect x="98.8447%" y="148" width="0.5888%" height="15" fill="rgb(212,28,1)"/><text x="99.0947%" y="158.50"></text></g><g><title>type (qutip/qobj.py:2058) (53 samples, 0.59%)</title><rect x="98.8447%" y="164" width="0.5888%" height="15" fill="rgb(248,164,17)"/><text x="99.0947%" y="174.50"></text></g><g><title>type_from_dims (qutip/dimensions.py:65) (52 samples, 0.58%)</title><rect x="98.8558%" y="180" width="0.5776%" height="15" fill="rgb(222,171,42)"/><text x="99.1058%" y="190.50"></text></g><g><title>is_scalar (qutip/dimensions.py:49) (50 samples, 0.56%)</title><rect x="98.8780%" y="196" width="0.5554%" height="15" fill="rgb(243,84,45)"/><text x="99.1280%" y="206.50"></text></g><g><title>prod (<__array_function__ internals>:5) (42 samples, 0.47%)</title><rect x="98.9669%" y="212" width="0.4666%" height="15" fill="rgb(252,49,23)"/><text x="99.2169%" y="222.50"></text></g><g><title>prod (numpy/core/fromnumeric.py:3030) (39 samples, 0.43%)</title><rect x="99.0002%" y="228" width="0.4332%" height="15" fill="rgb(215,19,7)"/><text x="99.2502%" y="238.50"></text></g><g><title>_wrapreduction (numpy/core/fromnumeric.py:87) (26 samples, 0.29%)</title><rect x="99.1446%" y="244" width="0.2888%" height="15" fill="rgb(238,81,41)"/><text x="99.3946%" y="254.50"></text></g><g><title>__call__ (krotov/propagators.py:255) (35 samples, 0.39%)</title><rect x="99.4335%" y="132" width="0.3888%" height="15" fill="rgb(210,199,37)"/><text x="99.6835%" y="142.50"></text></g><g><title>__call__ (krotov/propagators.py:256) (12 samples, 0.13%)</title><rect x="99.8223%" y="132" width="0.1333%" height="15" fill="rgb(244,192,49)"/><text x="100.0723%" y="142.50"></text></g><g><title>optimize_pulses (krotov/optimize.py:477) (3,044 samples, 33.81%)</title><rect x="66.1520%" y="84" width="33.8147%" height="15" fill="rgb(226,211,11)"/><text x="66.4020%" y="94.50">optimize_pulses (krotov/optimize.py:477)</text></g><g><title>serial_map (qutip/parallel.py:189) (3,041 samples, 33.78%)</title><rect x="66.1853%" y="100" width="33.7814%" height="15" fill="rgb(236,162,54)"/><text x="66.4353%" y="110.50">serial_map (qutip/parallel.py:189)</text></g><g><title>_forward_propagation_step (krotov/optimize.py:907) (3,031 samples, 33.67%)</title><rect x="66.2964%" y="116" width="33.6703%" height="15" fill="rgb(220,229,9)"/><text x="66.5464%" y="126.50">_forward_propagation_step (krotov/optimize.py:907)</text></g><g><title><module> (06_example_3states.py:555) (8,833 samples, 98.12%)</title><rect x="1.8551%" y="68" width="98.1226%" height="15" fill="rgb(250,87,22)"/><text x="2.1051%" y="78.50"><module> (06_example_3states.py:555)</text></g><g><title>all (9,002 samples, 100%)</title><rect x="0.0000%" y="52" width="100.0000%" height="15" fill="rgb(239,43,17)"/><text x="0.2500%" y="62.50"></text></g></svg></svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above
profile.svg
(click on the link to load the file in its own browser tab!) contains a profiling analysis of just the final optimization fromIn [35]