Installation

FlamingPy requires Python 3.8 or newer.

If you currently do not have Python 3 installed, we recommend Anaconda for Python 3, a distributed version of Python packaged for scientific computation.

Upon activating a Python environment, run one of the following in your choice of CLI:

                
# Install the latest released PyPI version of FlamingPy (including
# dependencies and precompiled C++ binaries), all in a single package.
python -m pip install flamingpy
                
            
                
# Download and install the latest source code from GitHub for developers.
git clone https://github.com/XanaduAI/flamingpy.git
cd flamingpy
python -m pip install -r dev_requirements.txt
# Choose one or some of the following:
python setup.py develop # Only install Python libraries.
python setup.py build_cmake --inplace # Compile CMake-based backends.
                
            

Contents

Home

Background

Using FlamingPy

Development

Getting Help

Python API