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
FermiLib is an open source effort for analyzing quantum simulation algorithms.
12
16
@@ -16,7 +20,7 @@ Getting started
16
20
---------------
17
21
18
22
To start using FermiLib, simply follow the installation instructions in the `intro <https://github.com/ProjectQ-Framework/FermiLib/tree/master/docs/intro.html>`__. There, you will also find `code examples <https://github.com/ProjectQ-Framework/FermiLib/tree/master/examples.html>`__. Also, make sure to check out the `ProjectQ
19
-
website <http://www.projectq.ch>`__ and the detailed `code documentation <https://github.com/ProjectQ-Framework/FermiLib/tree/master/docs/>`__.
23
+
website <http://www.projectq.ch>`__ and the detailed `code documentation <https://fermilib.readthedocs.io/>`__.
20
24
21
25
How to contribute
22
26
-----------------
@@ -26,8 +30,8 @@ To contribute code please adhere to the following very simple rules:
26
30
1. Make sure your new code comes with extensive tests!
27
31
2. Make sure you adhere to our style guide. Until we release a code style
28
32
guide, just have a look at our code for clues. We mostly follow pep8 and use the pep8 linter to check for it.
29
-
3. Put global constants and configuration parameters into src/config.py, and
30
-
add 'from config import *' in the file that uses the constants/parameters.
33
+
3. Put global constants and configuration parameters into src/fermilib/config.py, and
34
+
add *from config import ** in the file that uses the constants/parameters.
31
35
32
36
Documentation can be found `here <https://github.com/ProjectQ-Framework/FermiLib/tree/master/docs/>`_.
Copy file name to clipboardExpand all lines: docs/intro.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,14 @@ Installing FermiLib requires pip. Make sure that you are using an up-to-date ver
13
13
14
14
.. code-block:: bash
15
15
16
-
python -m pip install --user fermilib
16
+
python -m pip install --pre --user fermilib
17
17
18
18
Alternatively, clone/download `this repo <https://github.com/ProjectQ-Framework/FermiLib>`_ (e.g., to your /home directory) and run
19
19
20
20
.. code-block:: bash
21
21
22
22
cd /home/fermilib
23
-
python -m pip install --user .
23
+
python -m pip install --pre --user .
24
24
25
25
This will install FermiLib and all its dependencies automatically. In particular, FermiLib requires `ProjectQ <https://projectq.ch>`_ . It might be useful to install ProjectQ separately before installing FermiLib as it might require setting some manual options such as, e.g., a C++ compiler. Please follow the `ProjectQ installation <https://projectq.ch/code-and-docs/>`_ instructions. FermiLib is compatible with both Python 2 and 3.
0 commit comments