File tree Expand file tree Collapse file tree 12 files changed +124
-72
lines changed
qutip_benchmark/benchmarks Expand file tree Collapse file tree 12 files changed +124
-72
lines changed Original file line number Diff line number Diff line change @@ -57,19 +57,22 @@ jobs:
5757 # Download resources from qutip.github.io repository
5858 mkdir css
5959 cd css
60- wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/css/bootstrap.css
6160 wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/css/site.css
6261 cd ..
6362
6463 mkdir _includes
6564 cd _includes
66- wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/footer.html
67- wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/header.html
65+ wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/head.html
6866 wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/navbar.html
67+ wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/footer.html
68+ wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/scripts.html
6969 cd ..
7070
71- # Add additional includes
72- cp -r _includes_extra/* _includes
71+ mkdir images
72+ cd images
73+ wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/images/favicon.ico
74+ wget https://raw.githubusercontent.com/langhaarzombie/langhaarzombie.github.io/develop/images/logo_small.png
75+ cd ..
7376
7477 # build the website
7578 bundle config path .gems
Original file line number Diff line number Diff line change 11"""This file contains the benchmarks that are run the benchmark.py script."""
2+
23import pytest
34import qutip
45import scipy
Original file line number Diff line number Diff line change 11"""This file contains the benchmarks that are run the benchmark.py script."""
2+
23import pytest
34import qutip
45import numpy as np
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11---
22title: QuTiP Benchmarks
33---
4- {% include header.html %}
5- {% include navbar.html %}
64
7- < div class ="row ">
5+ <!DOCTYPE html>
6+ < html lang ="en ">
7+
8+ {% include head.html %}
89
9- < div class ="col-md-12 ">
10- < div class ="alert alert-info " role ="alert ">
11- Benchmarks are currently only available for QuTiP 5, which is the
12- upcoming major release of QuTiP.
13- </ div >
14- </ div >
10+ < body >
11+ < header > {% include navbar.html %} </ header >
12+
13+ < main class ="my-content ">
14+ < div class ="row ">
1515
1616< div class ="col-md-9 ">
1717
@@ -87,5 +87,10 @@ <h3>Contributing</h3>
8787
8888</ div > <!-- col-md-9 main content div -->
8989</ div > <!-- main row div -->
90+ </ main >
91+
92+ < footer > {% include footer.html %}</ footer >
93+ {% include scripts.html %}
9094
91- {% include footer.html %}
95+ </ body >
96+ </ html >
Original file line number Diff line number Diff line change 11---
22title: QuTiP Historical Benchmarks: Qobj Add
33---
4- {% include header.html %}
5- {% include navbar.html %}
64
5+ <!DOCTYPE html>
6+ < html lang ="en ">
7+
8+ {% include head.html %}
9+
10+ < body >
11+ < header > {% include navbar.html %} </ header >
12+
13+ < main class ="my-content ">
714< div class ="container ">
815 < div class ="row ">
916 < div >
@@ -50,5 +57,10 @@ <h3 class="text-center">Historical Benchmarks: Qobj Add</h3>
5057 </ div > <!-- col-md-6 left content div -->
5158 </ div > <!-- main row div -->
5259</ div >
60+ </ main >
61+
62+ < footer > {% include footer.html %}</ footer >
63+ {% include scripts.html %}
5364
54- {% include footer.html %}
65+ </ body >
66+ </ html >
Original file line number Diff line number Diff line change 11---
22title: QuTiP Historical Benchmarks: Qobj Matmul
33---
4- {% include header.html %}
5- {% include navbar.html %}
64
5+ <!DOCTYPE html>
6+ < html lang ="en ">
77
8+ {% include head.html %}
9+
10+ < body >
11+ < header > {% include navbar.html %} </ header >
12+
13+ < main class ="my-content ">
814< div class ="container ">
915 < div class ="row ">
1016 < div >
@@ -96,5 +102,10 @@ <h4 class="text-center">Operator @ Ket</h4>
96102 </ div > <!-- main row div -->
97103
98104</ div >
105+ </ main >
106+
107+ < footer > {% include footer.html %}</ footer >
108+ {% include scripts.html %}
99109
100- {% include footer.html %}
110+ </ body >
111+ </ html >
Original file line number Diff line number Diff line change 11---
22title: QuTiP Historical Benchmarks: QobjEvo Matmul
33---
4- {% include header.html %}
5- {% include navbar.html %}
64
5+ <!DOCTYPE html>
6+ < html lang ="en ">
77
8+ {% include head.html %}
9+
10+ < body >
11+ < header > {% include navbar.html %} </ header >
12+
13+ < main class ="my-content ">
814< div class ="container ">
915 < div class ="row ">
1016 < div >
@@ -51,5 +57,10 @@ <h3 class="text-center">Historical Benchmarks: QobjEvo Matmul</h3>
5157 </ div > <!-- col-md-6 left content div -->
5258 </ div > <!-- main row div -->
5359</ div >
60+ </ main >
61+
62+ < footer > {% include footer.html %}</ footer >
63+ {% include scripts.html %}
5464
55- {% include footer.html %}
65+ </ body >
66+ </ html >
Original file line number Diff line number Diff line change 11---
22title: QuTiP Scaling Benchmarks: Qobj Add and QobjEvo Matmul
33---
4- {% include header.html %}
5- {% include navbar.html %}
64
5+ <!DOCTYPE html>
6+ < html lang ="en ">
77
8+ {% include head.html %}
9+
10+ < body >
11+ < header > {% include navbar.html %} </ header >
12+
13+ < main class ="my-content ">
814< div class ="container ">
915 < div class ="row ">
1016 < div >
@@ -59,8 +65,11 @@ <h4 class="text-center">QobjEvo Matmul</h4>
5965
6066 </ div > <!-- col-md-6 left content div -->
6167 </ div > <!-- main row div -->
62-
63-
6468</ div >
69+ </ main >
70+
71+ < footer > {% include footer.html %}</ footer >
72+ {% include scripts.html %}
6573
66- {% include footer.html %}
74+ </ body >
75+ </ html >
Original file line number Diff line number Diff line change 11---
22title: QuTiP Scaling Benchmarks: Qobj Matmul
33---
4- {% include header.html %}
5- {% include navbar.html %}
64
5+ <!DOCTYPE html>
6+ < html lang ="en ">
77
8+ {% include head.html %}
9+
10+ < body >
11+ < header > {% include navbar.html %} </ header >
12+
13+ < main class ="my-content ">
814< div class ="container ">
915 < div class ="row ">
1016 < div >
@@ -59,5 +65,10 @@ <h4 class="text-center">Operator @ Ket</h4>
5965 </ div > <!-- col-md-6 left content div -->
6066 </ div > <!-- main row div -->
6167</ div >
68+ </ main >
69+
70+ < footer > {% include footer.html %}</ footer >
71+ {% include scripts.html %}
6272
63- {% include footer.html %}
73+ </ body >
74+ </ html >
You can’t perform that action at this time.
0 commit comments