My field notes on quantum computing with IBM's Qiskit...
This repository is a work in progress.
You must have the following installed on your system to get started:
To setup this project locally on your machine, follow these steps:
Clone this repo to a desired location (folder) on your machine by opening up a terminal from the folder and entering the following command:
git clone https://github.com/ravi-aratchige/hitchhikers-guide-to-the-quantum-realm.gitNext, move into the project directory:
cd hitchhikers-guide-to-the-quantum-realmA virtual environment will help you keep the project's dependencies isolated from the global system of Python packages. To setup your virtual environment, first ensure that virtualenv is installed on your system:
pip install virtualenvTo create and activate a virtual environment, enter the following commands after moving into the spacefarer folder as done in the previous step:
# Create a virtual environment named 'env':
python -m venv env
# Activate the virtual environment (Windows):
env\Scripts\activate.bat
# Activate the virtual environment (MacOS / Linux):
source env/bin/activateYour terminal will now include an (env) prefix, indicating a successful activation of the virtual environment:
# On Windows:
(env) drive:\folder\...hitchhikers-guide-to-the-quantum-realm>
# On MacOS and Linux
(env) user@computer:~/...hitchhikers-guide-to-the-quantum-realm$To deactivate the virtual environment (and remove the (env) prefix):
deactivateAfter activating the virtual environment, you can install all of the necessary dependencies with a single command:
pip install -r requirements.txtrequirements.txt includes all of the project's dependencies and their respective versions.
You can start the Jupyter Server to view and run the notebooks after the dependencies have been successfully installed:
jupyter notebookJupyter Server will then start on http://localhost:8888/tree.