-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from qognitive/docs/install-guide
add install guide
- Loading branch information
Showing
3 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,16 +12,53 @@ fast_pauli documentation | |
:maxdepth: 1 | ||
:caption: Contents | ||
|
||
install | ||
examples | ||
getting_started | ||
benchmarks | ||
python_api | ||
cpp_api | ||
|
||
|
||
Introduction | ||
Installation | ||
============ | ||
Welcome to ``fast_pauli``! This package provides fast and efficient implementations of pauli operators and strings, | ||
with a focus on performance and usability. In order to get started, we'll need to install the package and its dependencies. | ||
|
||
Our Goals | ||
========= | ||
Here are a few options for installing ``fast_pauli``: | ||
|
||
Install using ``pip`` | ||
------------------ | ||
.. code-block:: bash | ||
pip install fast_pauli | ||
Install from source with Python | ||
------------------------------- | ||
.. code-block:: bash | ||
git clone [email protected]:qognitive/fast-pauli.git | ||
cd fast_pauli | ||
python -m pip install -e ".[dev]" | ||
Build From Source with CMake | ||
---------------------------- | ||
.. code-block:: bash | ||
git clone [email protected]:qognitive/fast-pauli.git | ||
cd fast-pauli | ||
# Configure/Compile the project | ||
cmake -B build -G Ninja # <...custom cmake flags...> | ||
cmake --build build --target install --parallel | ||
ctest --test-dir build | ||
# Install the python package | ||
python -m pip install -e ".[dev]" --no-build-isolation | ||
Verify / Test Build | ||
------------------- | ||
|
||
.. code-block:: bash | ||
pytest -v tests/fast_pauli # + other pytest flags |
This file was deleted.
Oops, something went wrong.