|
52 | 52 | This benchmark measures the time it takes to create all necessary operators and states, perform a time-evolution according to a master equation and calculate the expectation value of the number operator at certain times. |
53 | 53 | <!-- <div class="col-md-10"> --> |
54 | 54 | <h3>Benchmark results</h3> |
55 | | - <canvas id="plot-timeevolution-master"></canvas> |
| 55 | + <div class="singleplot"> |
| 56 | + <canvas id="plot-timeevolution-master" width="4", height="3"></canvas> |
| 57 | + </div> |
56 | 58 | <!-- </div> --> |
57 | 59 | <!-- <div class="col-md-8"> --> |
58 | 60 | <h3>Source-code</h3> |
|
85 | 87 | <math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi>H</mi><mo stretchy="false">(</mo><mi>t</mi><mo stretchy="false">)</mo><mo>=</mo><msub> <mi>ω<!-- ω --></mi> <mi>c</mi></msub><msup> <mi>a</mi> <mo>†<!-- † --></mo></msup><mi>a</mi><mo>+</mo><mi>η<!-- η --></mi><mrow class="MJX-TeXAtom-ORD"> <mo maxsize="1.2em" minsize="1.2em">(</mo></mrow><mi>a</mi><msup> <mi>e</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>i</mi> <mi>ω<!-- ω --></mi> <mi>t</mi> </mrow></msup><mo>+</mo><msup> <mi>a</mi> <mo>†<!-- † --></mo></msup><msup> <mi>e</mi> <mrow class="MJX-TeXAtom-ORD"> <mo>−<!-- − --></mo> <mi>i</mi> <mi>ω<!-- ω --></mi> <mi>t</mi> </mrow></msup><mrow class="MJX-TeXAtom-ORD"> <mo maxsize="1.2em" minsize="1.2em">)</mo></mrow><mo>.</mo></math> |
86 | 88 |
|
87 | 89 | <h3>Benchmark results</h3> |
88 | | - <canvas id="plot-timeevolution-timedependent"></canvas> |
| 90 | + <div class="singleplot"> |
| 91 | + <canvas id="plot-timeevolution-timedependent" width="4", height="3"></canvas> |
| 92 | + </div> |
89 | 93 |
|
90 | 94 | <h3>Source-code</h3> |
91 | 95 | <button class="accordion">QuantumOptics.jl</button> |
|
119 | 123 | This benchmark measures only the time it takes to perform the time-evolution and calculating the expectation values. Creating all necessary operators and states is done separately. |
120 | 124 |
|
121 | 125 | <h3>Benchmark results</h3> |
122 | | - <canvas id="plot-timeevolution-particle"></canvas> |
| 126 | + <canvas id="plot-timeevolution-particle" width="4", height="3"></canvas> |
123 | 127 |
|
124 | 128 | <h3>Source-code</h3> |
125 | 129 | <button class="accordion">QuantumOptics.jl</button> |
|
143 | 147 | </div> |
144 | 148 | <div class="row"> |
145 | 149 | <div class="col-md-6"> |
146 | | - <canvas id="plot-expect-state"></canvas> |
| 150 | + <canvas id="plot-expect-state" width="4", height="3"></canvas> |
147 | 151 | </div> |
148 | 152 | <div class="col-md-6"> |
149 | | - <canvas id="plot-expect-operator"></canvas> |
| 153 | + <canvas id="plot-expect-operator" width="4", height="3"></canvas> |
150 | 154 | </div> |
151 | 155 | </div> |
152 | 156 | <div class="row"> |
153 | 157 | <h3>Variances</h3> |
154 | 158 | </div> |
155 | 159 | <div class="row"> |
156 | 160 | <div class="col-md-6"> |
157 | | - <canvas id="plot-variance-state"></canvas> |
| 161 | + <canvas id="plot-variance-state" width="4", height="3"></canvas> |
158 | 162 | </div> |
159 | 163 | <div class="col-md-6"> |
160 | | - <canvas id="plot-variance-operator"></canvas> |
| 164 | + <canvas id="plot-variance-operator" width="4", height="3"></canvas> |
161 | 165 | </div> |
162 | 166 | </div> |
163 | 167 | <div class="row"> |
164 | 168 | <h3>Partial trace</h3> |
165 | 169 | </div> |
166 | 170 | <div class="row"> |
167 | 171 | <div class="col-md-6"> |
168 | | - <canvas id="plot-ptrace"></canvas> |
| 172 | + <canvas id="plot-ptrace" width="4", height="3"></canvas> |
169 | 173 | </div> |
170 | 174 | </div> |
171 | 175 | </div> |
|
182 | 186 | </div> |
183 | 187 | <div class="row"> |
184 | 188 | <div class="col-md-6"> |
185 | | - <canvas id="plot-coherentstate"></canvas> |
| 189 | + <canvas id="plot-coherentstate" width="4", height="3"></canvas> |
186 | 190 | </div> |
187 | 191 | </div> |
188 | 192 | <div class="row"> |
189 | 193 | <h3>Q-function</h3> |
190 | 194 | </div> |
191 | 195 | <div class="row"> |
192 | 196 | <div class="col-md-6"> |
193 | | - <canvas id="plot-qfunc-state"></canvas> |
| 197 | + <canvas id="plot-qfunc-state" width="4", height="3"></canvas> |
194 | 198 | </div> |
195 | 199 | <div class="col-md-6"> |
196 | | - <canvas id="plot-qfunc-operator"></canvas> |
| 200 | + <canvas id="plot-qfunc-operator" width="4", height="3"></canvas> |
197 | 201 | </div> |
198 | 202 | </div> |
199 | 203 | </div> |
|
210 | 214 | </div> |
211 | 215 | <div class="row"> |
212 | 216 | <div class="col-md-6"> |
213 | | - <canvas id="plot-multiplication-sparse-sparse"></canvas> |
| 217 | + <canvas id="plot-multiplication-sparse-sparse" width="4", height="3"></canvas> |
214 | 218 | </div> |
215 | 219 | <div class="col-md-6"> |
216 | | - <canvas id="plot-multiplication-sparse-dense"></canvas> |
| 220 | + <canvas id="plot-multiplication-sparse-dense" width="4", height="3"></canvas> |
217 | 221 | </div> |
218 | 222 | </div> |
219 | 223 | <div class="row"> |
220 | 224 | <div class="col-md-6"> |
221 | | - <canvas id="plot-multiplication-dense-sparse"></canvas> |
| 225 | + <canvas id="plot-multiplication-dense-sparse" width="4", height="3"></canvas> |
222 | 226 | </div> |
223 | 227 | <div class="col-md-6"> |
224 | | - <canvas id="plot-multiplication-dense-dense"></canvas> |
| 228 | + <canvas id="plot-multiplication-dense-dense" width="4", height="3"></canvas> |
225 | 229 | </div> |
226 | 230 | </div> |
227 | 231 | </div> |
|
0 commit comments