Installation

QBee can be installed on virtually any computer with Python. Python can be installed via official website and QBee officially supports Python 3.9 and above.

Pip / PyPI

Official distribution of QBee is located on PyPI and can be installed via pip in your console:

$ pip install qbee

Git

If you want to contribute to QBee or like to get each possible version of QBee, install it from git. To download repository, execute the following from the command line:

$ git clone https://github.com/AndreyBychkov/QBee.git --branch master

You can pick a different branch if you need it. For instance, dev branch contains latest updates, and others and contain unreleased new features.

To update to the latest version, go into your repository and execute:

$ git pull origin master

If you want to install QBee, you can do it from the repository by using pip:

$ pip install .

Run QBee

After installation, it is best to verify that your the freshly-installed package works. To do this, start up Python and import the QBee library:

$ python
>>> from qbee import *

From here, calculate a simple quadratization:

>>> x = functions("x")
>>> quadratize([(x, x**5)]).print()
Introduced variables:
w0 = x**4

x' = w0*x
w0' = 4*w0**2