You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Runtimes for the calculation of dynamical stability of the steady state using the Routh-Hurwitz criteria. | Runtimes for the calculation of average entanglement from the dynamical values of modes and correlations. |
31
31
32
-
### Up Next!
32
+
* Faster Monte-Carlo quantum trajectories solver for low-dimensional Hilbert spaces.
33
33
34
34
| Monte-Carlo Quantum Trajectories |
35
35
|---|
36
36
||
37
-
| Comparison of runtimes for the Jaynes-Cummings Hamiltonian. |
37
+
| Comparison of runtimes for the Jaynes-Cummings Hamiltonian with Hilbert space dimension of 10. |
38
38
39
39
## Examples
40
40
@@ -63,7 +63,7 @@ Backed by numerical libraries like NumPy and SciPy, and featuring the highly cus
| Wigner distribution depicting the evolution of mechanical squeezing in a modulated optomechanical system. | Soliton propagation in an array of optomechanical systems at different phase lags between the input solitons. |
65
65
66
-
A set of notebooks and scripts to demonstrate the usage of the toolbox can be found [here](https://github.com/sampreet/qom-examples).
66
+
A set of notebooks and scripts to demonstrate the usage of the toolbox can be found in the [examples repository](https://github.com/sampreet/qom-examples).
***Note: To run the GUI modules, `pyqt` should be installed separately.***
88
88
89
-
Once the dependencies are installed, the toolbox can be installed via PyPI (last release: v0.9.0) or locally (latest version: v1.0.0).
89
+
Once the dependencies are installed, the toolbox can be installed via PyPI or locally.
90
+
91
+
The documentation of the latest release is available [here](https://sampreet.github.io/qom-docs).
90
92
91
93
### Installing via PyPI
92
94
@@ -96,19 +98,15 @@ To install the last release via the Python Package Index, execute:
96
98
pip install -i https://test.pypi.org/simple/ qom
97
99
```
98
100
99
-
The corresponding documentation is available [here](https://sampreet.github.io/qom-docs/v0.9.0).
100
-
101
101
### Installing Locally
102
102
103
103
To install the latest version locally, download the repository as `.zip` and extract the contents.
104
-
Now, execute the following from *outside* the top-level directory, `ROOT_DIR`, inside which `setup.py` is located (refer to the file structure[here](./CONTRIBUTING.md)):
104
+
Now, execute the following from *outside* the top-level directory, `ROOT_DIR`, inside which `setup.py` is located (refer to the [file structure](./CONTRIBUTING.md)):
105
105
106
106
```bash
107
107
pip install -e ROOT_DIR
108
108
```
109
109
110
-
The corresponding documentation is available [here](https://sampreet.github.io/qom-docs).
111
-
112
110
## Basic Usage
113
111
114
112
The library features easy-to-use functions to calculate as well as visualize the trend of several quantum signatures.
@@ -222,4 +220,4 @@ Also, make sure you adhere to the [code of conduct](./CODE_OF_CONDUCT.md).
222
220
223
221
## Citing
224
222
225
-
Please cite [S. Kalita and A. K. Sarma, *The QOM Toolbox: An object-oriented Python framework for cavity optomechanical systems*, Proceedings of Eighth International Congress on Information and Communication Technology**3**, Springer Singapore (2023)](./CITATION.bib) if you use our work in your research.
223
+
Please cite [S. Kalita and A. K. Sarma, *The QOM Toolbox: An Object-oriented Python Framework for Cavity Optomechanical Systems*, Proceedings of Eighth International Congress on Information and Communication Technology, Lecture Notes in Networks and Systems, Volume 694, 581-590, Springer Nature Singapore (2023)](./CITATION.bib) if you use our work in your research.
Copy file name to clipboardExpand all lines: docs/source/index.rst
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
.. Quantum Optomechanics Toolbox documentation master file, created by
2
2
sphinx-quickstart on Fri Dec 4 15:06:12 2020.
3
3
4
-
Welcome to the ``qom-v1.0.0`` Documentation!
4
+
Welcome to the ``qom-v1.0.1`` Documentation!
5
5
============================================
6
6
7
7
The Quantum Optomechanics Toolbox (packaged as ``qom``) is a wrapper-styled, scalable toolbox featuring multiple modules for the calculation of stationary as well as dynamical properties of many-body quantum optomechanical systems.
@@ -32,16 +32,15 @@ What's New in v1.0!
32
32
* - Runtimes for the calculation of dynamical stability of the steady state using the Routh-Hurwitz criteria.
33
33
- Runtimes for the calculation of average entanglement from the dynamical values of modes and correlations.
34
34
35
-
Up Next!
36
-
--------
35
+
* Faster Monte-Carlo quantum trajectories solver for low-dimensional Hilbert spaces.
37
36
38
37
.. list-table::
39
38
:widths: 100
40
39
:header-rows: 1
41
40
42
41
* - Monte-Carlo Quantum Trajectories
43
42
* - .. image:: ../images/00_02_mcqt.png
44
-
* - Comparison of runtimes for the Jaynes-Cummings Hamiltonian.
43
+
* - Comparison of runtimes for the Jaynes-Cummings Hamiltonian with Hilbert space dimension of 10.
45
44
46
45
Examples
47
46
--------
@@ -101,7 +100,7 @@ Examples
101
100
* - Wigner distribution depicting the evolution of mechanical squeezing in a modulated optomechanical system.
102
101
- Soliton propagation in an array of optomechanical systems at different phase lags between the input solitons.
103
102
104
-
A set of notebooks and scripts to demonstrate the usage of the toolbox can be found `here<https://github.com/sampreet/qom-examples>`_.
103
+
A set of notebooks and scripts to demonstrate the usage of the toolbox can be found in the `examples repository<https://github.com/sampreet/qom-examples>`_.
105
104
106
105
Installation
107
106
============
@@ -126,7 +125,9 @@ These libraries can be installed using:
126
125
127
126
.. note:: To run the GUI modules, ``pyqt`` should be installed separately.
128
127
129
-
Once the dependencies are installed, the toolbox can be installed via PyPI (last release: v0.9.0) or locally (latest version: v1.0.0).
128
+
Once the dependencies are installed, the toolbox can be installed via PyPI or locally.
129
+
130
+
The documentation of the latest release is available `here <https://sampreet.github.io/qom-docs>`_.
130
131
131
132
Installing via PyPI
132
133
-------------------
@@ -137,20 +138,16 @@ To install the packages via the Python Package Index (PyPI), execute:
137
138
138
139
pip install -i https://test.pypi.org/simple/ qom
139
140
140
-
The corresponding documentation is available `here <https://sampreet.github.io/qom-docs/v0.9.0>`_.
141
-
142
141
Installing Locally
143
142
------------------
144
143
145
144
To install the package locally, download `the repository <https://github.com/sampreet/qom>`_ as ``.zip`` and extract the contents.
146
-
Now, execute the following from *outside* the top-level directory, ``ROOT_DIR``, inside which ``setup.py`` is located (refer to the file structure `here<https://github.com/sampreet/qom/blob/master/CONTRIBUTING.md>`_):
145
+
Now, execute the following from *outside* the top-level directory, ``ROOT_DIR``, inside which ``setup.py`` is located (refer to the `file structure <https://github.com/sampreet/qom/blob/master/CONTRIBUTING.md>`_):
147
146
148
147
.. code-block:: bash
149
148
150
149
pip install -e ROOT_DIR
151
150
152
-
The corresponding documentation is available `here <https://sampreet.github.io/qom-docs>`_.
Copy file name to clipboardExpand all lines: qom/io.py
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,10 @@
6
6
__name__='qom.io'
7
7
__authors__= ["Sampreet Kalita"]
8
8
__created__="2023-05-28"
9
-
__updated__="2023-07-12"
9
+
__updated__="2023-08-14"
10
10
11
11
# dependencies
12
+
importlogging
12
13
importnumpyasnp
13
14
importos
14
15
importtime
@@ -20,8 +21,8 @@ class Updater():
20
21
21
22
Parameters
22
23
----------
23
-
logger : :class:`logging.logger`
24
-
Module logger.
24
+
name : str
25
+
Name of the module or class.
25
26
cb_update : callable, optional
26
27
Callback function to update status and progress, formatted as ``cb_update(status, progress, reset)``, where ``status`` is a string, ``progress`` is a float and ``reset`` is a boolean.
27
28
parallel : bool, default=False
@@ -32,11 +33,11 @@ class Updater():
32
33
Time at which the process was started. If not provided, the value is initialized to current time.
0 commit comments