diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1c115e3..b583dfd 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -68,7 +68,7 @@ jobs: rm animation_nodes_v2_3_linux_py310.zip echo "Replace files in animation_nodes to fix doc build issues" rm animation_nodes/__init__.py - cp docs/source/_static/animation_nodes_init_replacement_file.txt animation_nodes/__init__.py + cp docs/_static/animation_nodes_init_replacement_file.txt animation_nodes/__init__.py find animation_nodes/ -type f -name "*.py" -exec sed -i 's/return bpy.app.version/return bpy.app.version if bpy.app.version is not None else (2, 93, 0)/g' {} + - name: Generate code documentation diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 3602537..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,86 +0,0 @@ -include: - # Metada shared by many jobs - - local: .gitlab/rules.yml - - -stages: - - style-docstring-check - - upload - - release - - -variables: - MODULE: quantum_nodes - VERSION: $CI_COMMIT_TAG - PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${MODULE}/${VERSION}" - - -style-docstring-check: - stage: style-docstring-check - - image: python:latest - - extends: - - .run_auto - - before_script: - - pip install pre-commit - - script: - - pre-commit run --all-files - - -upload: - stage: upload - - image: python:latest - - extends: - - .tag_only - - needs: - - job: style-docstring-check - - before_script: - - echo GE_JOB_ID=$CI_JOB_ID >> upload_report.env - - script: - - apt-get update - - apt-get install -y zip unzip - - zip -r ${MODULE} ${MODULE} - - mv ${MODULE}.zip ${MODULE}_${VERSION//./_}.zip - - | - curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file ${MODULE}_${VERSION//./_}.zip ${PACKAGE_REGISTRY_URL}/${MODULE}_${VERSION//./_}.zip - - artifacts: - reports: - dotenv: upload_report.env - - -release: - stage: release - - image: registry.gitlab.com/gitlab-org/release-cli:latest - - extends: - - .tag_only - - needs: - - job: upload - artifacts: true - - script: - - echo "Running release job for ${VERSION}" - - release: - name: "Quantum Nodes ${VERSION}" - description: "Minimal Blender version required: 2.92" - tag_name: ${VERSION} - assets: - links: - - name: "Download Quantum Nodes ${VERSION}" - url: ${PACKAGE_REGISTRY_URL}/${MODULE}_${VERSION//./_}.zip - - name: "Documentation" - url: https://quantum-creative-group.gitlab.io/quantum_nodes_manual/ - - name: "Website" - url: https://quantum-nodes.com/ \ No newline at end of file diff --git a/README.md b/README.md index 90234de..3d863d7 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Quantum Nodes -Quantum Nodes is an extension of [Animation Nodes](https://github.com/JacquesLucke/animation_nodes) for [Blender](https://github.com/blender) built with [Qiskit](https://github.com/Qiskit). +Quantum Nodes is an extension of [Animation Nodes](https://github.com/JacquesLucke/animation_nodes) for [Blender](https://www.blender.org/) built with [Qiskit](https://github.com/Qiskit).
This add-on offers tools to incorporate quantum computing into your creation process. It even allows you to send your quantum circuits to real qubits provided by [IBM](https://quantum-computing.ibm.com/). -Get started with Quantum Nodes by reading the [documentation](https://quantum-creative-group.gitlab.io/quantum_nodes_manual/). +Get started with Quantum Nodes by reading the [documentation](https://quantum-creative-group.github.io/quantum_nodes/). Find more information on [www.quantum-nodes.com](https://www.quantum-nodes.com)

@@ -20,10 +20,10 @@ Find more information on [www.quantum-nodes.com](https://www.quantum-nodes.com) ## Documentation -Here you will find both the user and developer manual for Quantum Nodes: [documentation](https://quantum-nodes.com). +Here you will find both the user and developer manual for Quantum Nodes: [documentation](https://quantum-creative-group.github.io/quantum_nodes/). ### Contributing -Find more detailed instructions on the [dedicated page](https://quantum-creative-group.gitlab.io/quantum_nodes_manual/developers_manual/manual/index.html). +Find more detailed instructions on the [dedicated page](https://quantum-creative-group.github.io/quantum_nodes/developers_manual/manual/index.html). * Fork the repository * Add useful information diff --git a/docs/source/_static/animation_nodes_init_replacement_file.txt b/docs/_static/animation_nodes_init_replacement_file.txt similarity index 100% rename from docs/source/_static/animation_nodes_init_replacement_file.txt rename to docs/_static/animation_nodes_init_replacement_file.txt diff --git a/docs/source/_static/css/developers_manual/ascii_art_file_architecture.css b/docs/_static/css/developers_manual/ascii_art_file_architecture.css similarity index 100% rename from docs/source/_static/css/developers_manual/ascii_art_file_architecture.css rename to docs/_static/css/developers_manual/ascii_art_file_architecture.css diff --git a/docs/source/_static/css/global.css b/docs/_static/css/global.css similarity index 100% rename from docs/source/_static/css/global.css rename to docs/_static/css/global.css diff --git a/docs/source/_static/images/favicon.ico b/docs/_static/images/favicon.ico similarity index 100% rename from docs/source/_static/images/favicon.ico rename to docs/_static/images/favicon.ico diff --git a/docs/source/_static/images/logo.png b/docs/_static/images/logo.png similarity index 100% rename from docs/source/_static/images/logo.png rename to docs/_static/images/logo.png diff --git a/docs/source/conf.py b/docs/source/conf.py index 83b616f..74cf087 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -84,15 +84,15 @@ } # Add a logo -html_logo = '_static/images/logo.png' +html_logo = '../_static/images/logo.png' # Add favicon -html_favicon = '_static/images/favicon.ico' +html_favicon = '../_static/images/favicon.ico' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +html_static_path = ['../_static'] # These paths are either relative to html_static_path # or fully qualified paths (eg. https://...) diff --git a/docs/source/developers_manual/addon/index.rst b/docs/source/developers_manual/addon/index.rst index 083a4d0..d32f22d 100644 --- a/docs/source/developers_manual/addon/index.rst +++ b/docs/source/developers_manual/addon/index.rst @@ -25,12 +25,12 @@ Contribute .. note:: - Click `here `_ to learn about the forking workflow on Gitlab. + Click `here `_ to learn about the forking workflow on Github. -* Fork our `git repository `_ +* Fork our `git repository `_ * Do your modifications -* Open a new `merge request `_ +* Open a new `merge request `_ * Wait for your modifications to be reviewed and accepted diff --git a/docs/source/developers_manual/manual/index.rst b/docs/source/developers_manual/manual/index.rst index 46ede7b..a3711e3 100644 --- a/docs/source/developers_manual/manual/index.rst +++ b/docs/source/developers_manual/manual/index.rst @@ -23,12 +23,12 @@ Contribute .. note:: - Click `here `_ to learn about the forking workflow on Gitlab. + Click `here `_ to learn about the forking workflow on Github. -* Fork the repository: https://gitlab.com/quantum-creative-group/quantum_nodes_manual +* Fork the repository: https://github.com/Quantum-Creative-Group/quantum_nodes * Do your modifications -* Once you are ready, open a new `merge request `_ +* Once you are ready, open a new `merge request `_ * Wait for your modifications to be reviewed and accepted diff --git a/docs/source/developers_manual/manual/tools.rst b/docs/source/developers_manual/manual/tools.rst index 8f8e348..3f06d3e 100644 --- a/docs/source/developers_manual/manual/tools.rst +++ b/docs/source/developers_manual/manual/tools.rst @@ -30,7 +30,7 @@ Python Docstring Generator * Select the ``sphinx`` format for the auto docstring functionality -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/docstring_format.png +.. image:: /images/contrib-tools/docstring_format.png :width: 85% :alt: Python Docstring Generator, auto docstring sphinx :align: center @@ -52,7 +52,7 @@ reStructuredText Syntax highlighting * This extension uses `Esbonio `_ * Select the right output for sphinx-build in the settings: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/esbonio_output_sphinx_build.png +.. image:: /images/contrib-tools/esbonio_output_sphinx_build.png :width: 85% :alt: reStructuredText syntax highlighting, set output path sphinx-build :align: center diff --git a/docs/source/developers_manual/manual/windows.rst b/docs/source/developers_manual/manual/windows.rst index 0eeeb09..d8fc7bf 100644 --- a/docs/source/developers_manual/manual/windows.rst +++ b/docs/source/developers_manual/manual/windows.rst @@ -26,12 +26,12 @@ Contribute .. note:: - Click `here `_ to learn about the forking workflow on Gitlab. + Click `here `_ to learn about the forking workflow on Github. -* Fork the repository: https://gitlab.com/quantum-creative-group/quantum_nodes_manual +* Fork the repository: https://github.com/Quantum-Creative-Group/quantum_nodes * Do your modifications -* Once you are ready, open a new `merge request `_ +* Once you are ready, open a new `merge request `_ * Wait for your modifications to be reviewed and accepted .. _build-windows-contrib-manual: diff --git a/docs/source/getting_started/installation/linux.rst b/docs/source/getting_started/installation/linux.rst index 5cd5962..1979ceb 100644 --- a/docs/source/getting_started/installation/linux.rst +++ b/docs/source/getting_started/installation/linux.rst @@ -29,7 +29,7 @@ Downloads Blender ******* -* Download Blender (>= 2.92): https://www.blender.org/download/ +* Download Blender (>= 2.93): https://www.blender.org/download/ .. _blender-install-linux: @@ -63,7 +63,7 @@ Animation Nodes Quantum Nodes ************* -* Download the add-on from the `Gitlab releases `_ +* Download the add-on from the `Github releases `_ page (latest version recommended) @@ -93,9 +93,9 @@ Install python packages | Make sure we have pip installed: ``sudo ./python3.10 -m ensurepip`` | Install packages: -| pip: ``sudo ./python3.10 -m pip install --upgrade --no-cache-dir pip -t ..\lib\site-packages`` -| wheel: ``sudo ./python3.10 -m pip install --upgrade --no-cache-dir wheel -t ..\lib\site-packages`` -| pillow: ``sudo ./python3.10 -m pip install --upgrade --no-cache-dir pillow -t ..\lib\site-packages`` +| pip: ``sudo ./python3.10 -m pip install --upgrade --no-cache-dir pip`` +| wheel: ``sudo ./python3.10 -m pip install --upgrade --no-cache-dir wheel`` +| pillow: ``sudo ./python3.10 -m pip install --upgrade --no-cache-dir pillow`` | qiskit: ``sudo ./python3.10 -m pip install --upgrade --no-cache-dir qiskit qiskit_finance qiskit_machine_learning`` @@ -110,7 +110,7 @@ Now, all we have to do is to install Animation Nodes and Quantum Nodes in Blende * Go to: ``Edit > Preferences`` -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/linux/preferences-blender-linux.png +.. image:: /images/installation/linux/preferences-blender-linux.png :width: 50% :alt: Blender, preferences :align: center @@ -120,7 +120,7 @@ Now, all we have to do is to install Animation Nodes and Quantum Nodes in Blende * Go to the add-on panel and click on ``Install`` -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/linux/install-addons-blender-linux.png +.. image:: /images/installation/linux/install-addons-blender-linux.png :width: 80% :alt: Blender, preferences, install :align: center @@ -136,7 +136,7 @@ Animation Nodes * Select Animation Nodes -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/linux/install-linux-select-animation-nodes.png +.. image:: /images/installation/linux/install-linux-select-animation-nodes.png :width: 80% :alt: Blender, preferences, install animation nodes :align: center @@ -151,7 +151,7 @@ Animation Nodes Don't forget to activate it (click on the *checkbox*) -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/linux/install-linux-activate-animation-nodes.png +.. image:: /images/installation/linux/install-linux-activate-animation-nodes.png :width: 80% :alt: Blender, preferences, activate animation nodes :align: center @@ -167,7 +167,7 @@ Quantum Nodes * Select Quantum Nodes -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/linux/install-linux-select-quantum-nodes.png +.. image:: /images/installation/linux/install-linux-select-quantum-nodes.png :width: 80% :alt: Blender, preferences, install quantum nodes :align: center @@ -182,7 +182,7 @@ Quantum Nodes Don't forget to activate it (click on the *checkbox*) -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/linux/install-linux-activate-quantum-nodes.png +.. image:: /images/installation/linux/install-linux-activate-quantum-nodes.png :width: 80% :alt: Blender, preferences, activate quantum nodes :align: center @@ -200,6 +200,6 @@ Help If you have any problem: -#. Check for any existing `issue `_ that may tackle yours -#. If you do not find anything, please open a new `issue `_ - on Gitlab with all the necessary information to help you |:wink:| \ No newline at end of file +#. Check for any existing `issue `_ that may tackle yours +#. If you do not find anything, please open a new `issue `_ + on Github with all the necessary information to help you |:wink:| \ No newline at end of file diff --git a/docs/source/getting_started/installation/windows.rst b/docs/source/getting_started/installation/windows.rst index f17c706..cbb90dc 100644 --- a/docs/source/getting_started/installation/windows.rst +++ b/docs/source/getting_started/installation/windows.rst @@ -25,7 +25,7 @@ Downloads Blender ******* -* Download and install Blender (>= 2.92): https://www.blender.org/download/ +* Download and install Blender (>= 2.93): https://www.blender.org/download/ .. _animation-nodes-download-windows: @@ -48,7 +48,7 @@ Animation Nodes Quantum Nodes ************* -* Download the add-on from the `Gitlab releases `_ +* Download the add-on from the `Github releases `_ page (latest version recommended) @@ -90,7 +90,7 @@ Now, all we have to do is to install Animation Nodes and Quantum Nodes in Blende * Go to: ``Edit > Preferences`` -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes/-/raw/assets/install_an_and_qn_step1.png +.. image:: /images/installation/windows/preferences-blender-windows.png :width: 50% :alt: Blender, preferences :align: center @@ -100,7 +100,7 @@ Now, all we have to do is to install Animation Nodes and Quantum Nodes in Blende * Go to the add-on panel and click on ``Install`` -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes/-/raw/assets/install_an_and_qn_step1.5.png +.. image:: /images/installation/windows/install-addons-blender-windows.png :width: 80% :alt: Blender, preferences, install :align: center @@ -116,7 +116,7 @@ Animation Nodes * Select Animation Nodes -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/windows/install-windows-select-animation-nodes.png +.. image:: /images/installation/windows/install-windows-select-animation-nodes.png :width: 80% :alt: Blender, preferences, install animation nodes :align: center @@ -131,7 +131,7 @@ Animation Nodes Don't forget to activate it (click on the *checkbox*) -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/windows/install-windows-activate-animation-nodes.png +.. image:: /images/installation/windows/install-windows-activate-animation-nodes.png :width: 80% :alt: Blender, preferences, activate animation nodes :align: center @@ -147,7 +147,7 @@ Quantum Nodes * Select Quantum Nodes -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/windows/install-windows-select-quantum-nodes.png +.. image:: /images/installation/windows/install-windows-select-quantum-nodes.png :width: 80% :alt: Blender, preferences, install quantum nodes :align: center @@ -162,7 +162,7 @@ Quantum Nodes Don't forget to activate it (click on the *checkbox*) -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/installation/windows/install-windows-activate-quantum-nodes.png +.. image:: /images/installation/windows/install-windows-activate-quantum-nodes.png :width: 80% :alt: Blender, preferences, activate quantum nodes :align: center @@ -180,6 +180,6 @@ Help If you have any problem: -#. Check for any existing `issue `_ that may tackle yours -#. If you do not find anything, please open a new `issue `_ - on Gitlab with all the necessary information to help you |:wink:| \ No newline at end of file +#. Check for any existing `issue `_ that may tackle yours +#. If you do not find anything, please open a new `issue `_ + on Github with all the necessary information to help you |:wink:| \ No newline at end of file diff --git a/docs/source/getting_started/introduction/index.rst b/docs/source/getting_started/introduction/index.rst index c930cb6..b96ec6d 100644 --- a/docs/source/getting_started/introduction/index.rst +++ b/docs/source/getting_started/introduction/index.rst @@ -11,7 +11,7 @@ Quantum Nodes manual | This website is here to help you understand how to use Quantum Nodes! -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/quantum_monkey.jpg +.. image:: https://quantum-nodes.com/wp-content/uploads/2022/07/representative_image_quantum_nodes-scaled.jpg :width: 80% :alt: Quantum monkey :align: center diff --git a/docs/source/images/contrib-tools/docstring_format.png b/docs/source/images/contrib-tools/docstring_format.png new file mode 100644 index 0000000..ba072ab Binary files /dev/null and b/docs/source/images/contrib-tools/docstring_format.png differ diff --git a/docs/source/images/contrib-tools/environment-variable-windows-contrib-addon.png b/docs/source/images/contrib-tools/environment-variable-windows-contrib-addon.png new file mode 100644 index 0000000..0e16ce8 Binary files /dev/null and b/docs/source/images/contrib-tools/environment-variable-windows-contrib-addon.png differ diff --git a/docs/source/images/contrib-tools/esbonio_output_sphinx_build.png b/docs/source/images/contrib-tools/esbonio_output_sphinx_build.png new file mode 100644 index 0000000..becaa9b Binary files /dev/null and b/docs/source/images/contrib-tools/esbonio_output_sphinx_build.png differ diff --git a/docs/source/images/installation/linux/install-addons-blender-linux.png b/docs/source/images/installation/linux/install-addons-blender-linux.png new file mode 100644 index 0000000..93466f3 Binary files /dev/null and b/docs/source/images/installation/linux/install-addons-blender-linux.png differ diff --git a/docs/source/images/installation/linux/install-linux-activate-animation-nodes.png b/docs/source/images/installation/linux/install-linux-activate-animation-nodes.png new file mode 100644 index 0000000..02e835f Binary files /dev/null and b/docs/source/images/installation/linux/install-linux-activate-animation-nodes.png differ diff --git a/docs/source/images/installation/linux/install-linux-activate-quantum-nodes.png b/docs/source/images/installation/linux/install-linux-activate-quantum-nodes.png new file mode 100644 index 0000000..8258612 Binary files /dev/null and b/docs/source/images/installation/linux/install-linux-activate-quantum-nodes.png differ diff --git a/docs/source/images/installation/linux/install-linux-select-animation-nodes.png b/docs/source/images/installation/linux/install-linux-select-animation-nodes.png new file mode 100644 index 0000000..88b74bd Binary files /dev/null and b/docs/source/images/installation/linux/install-linux-select-animation-nodes.png differ diff --git a/docs/source/images/installation/linux/install-linux-select-quantum-nodes.png b/docs/source/images/installation/linux/install-linux-select-quantum-nodes.png new file mode 100644 index 0000000..065c8e7 Binary files /dev/null and b/docs/source/images/installation/linux/install-linux-select-quantum-nodes.png differ diff --git a/docs/source/images/installation/linux/preferences-blender-linux.png b/docs/source/images/installation/linux/preferences-blender-linux.png new file mode 100644 index 0000000..afe989e Binary files /dev/null and b/docs/source/images/installation/linux/preferences-blender-linux.png differ diff --git a/docs/source/images/installation/windows/install-addons-blender-windows.png b/docs/source/images/installation/windows/install-addons-blender-windows.png new file mode 100644 index 0000000..fd1e53a Binary files /dev/null and b/docs/source/images/installation/windows/install-addons-blender-windows.png differ diff --git a/docs/source/images/installation/windows/install-windows-activate-animation-nodes.png b/docs/source/images/installation/windows/install-windows-activate-animation-nodes.png new file mode 100644 index 0000000..f1814f8 Binary files /dev/null and b/docs/source/images/installation/windows/install-windows-activate-animation-nodes.png differ diff --git a/docs/source/images/installation/windows/install-windows-activate-quantum-nodes.png b/docs/source/images/installation/windows/install-windows-activate-quantum-nodes.png new file mode 100644 index 0000000..58e7967 Binary files /dev/null and b/docs/source/images/installation/windows/install-windows-activate-quantum-nodes.png differ diff --git a/docs/source/images/installation/windows/install-windows-select-animation-nodes.png b/docs/source/images/installation/windows/install-windows-select-animation-nodes.png new file mode 100644 index 0000000..a08d254 Binary files /dev/null and b/docs/source/images/installation/windows/install-windows-select-animation-nodes.png differ diff --git a/docs/source/images/installation/windows/install-windows-select-quantum-nodes.png b/docs/source/images/installation/windows/install-windows-select-quantum-nodes.png new file mode 100644 index 0000000..7b1deca Binary files /dev/null and b/docs/source/images/installation/windows/install-windows-select-quantum-nodes.png differ diff --git a/docs/source/images/installation/windows/preferences-blender-windows.png b/docs/source/images/installation/windows/preferences-blender-windows.png new file mode 100644 index 0000000..2b7019c Binary files /dev/null and b/docs/source/images/installation/windows/preferences-blender-windows.png differ diff --git a/docs/source/images/nodes/gate_all.png b/docs/source/images/nodes/gate_all.png new file mode 100644 index 0000000..ba5fbdf Binary files /dev/null and b/docs/source/images/nodes/gate_all.png differ diff --git a/docs/source/images/nodes/gate_ccx.png b/docs/source/images/nodes/gate_ccx.png new file mode 100644 index 0000000..3810ba0 Binary files /dev/null and b/docs/source/images/nodes/gate_ccx.png differ diff --git a/docs/source/images/nodes/gate_cswap.png b/docs/source/images/nodes/gate_cswap.png new file mode 100644 index 0000000..9d25164 Binary files /dev/null and b/docs/source/images/nodes/gate_cswap.png differ diff --git a/docs/source/images/nodes/gate_cy_and_others.png b/docs/source/images/nodes/gate_cy_and_others.png new file mode 100644 index 0000000..deee05e Binary files /dev/null and b/docs/source/images/nodes/gate_cy_and_others.png differ diff --git a/docs/source/images/nodes/gate_rz_and_others.png b/docs/source/images/nodes/gate_rz_and_others.png new file mode 100644 index 0000000..4099405 Binary files /dev/null and b/docs/source/images/nodes/gate_rz_and_others.png differ diff --git a/docs/source/images/nodes/gate_sdg_and_others.png b/docs/source/images/nodes/gate_sdg_and_others.png new file mode 100644 index 0000000..e310c79 Binary files /dev/null and b/docs/source/images/nodes/gate_sdg_and_others.png differ diff --git a/docs/source/images/nodes/gate_swap.png b/docs/source/images/nodes/gate_swap.png new file mode 100644 index 0000000..6a1050d Binary files /dev/null and b/docs/source/images/nodes/gate_swap.png differ diff --git a/docs/source/images/nodes/ibm.png b/docs/source/images/nodes/ibm.png new file mode 100644 index 0000000..f6fad30 Binary files /dev/null and b/docs/source/images/nodes/ibm.png differ diff --git a/docs/source/images/nodes/init_classical_register.png b/docs/source/images/nodes/init_classical_register.png new file mode 100644 index 0000000..d915337 Binary files /dev/null and b/docs/source/images/nodes/init_classical_register.png differ diff --git a/docs/source/images/nodes/init_quantum_circuit1.png b/docs/source/images/nodes/init_quantum_circuit1.png new file mode 100644 index 0000000..472edd8 Binary files /dev/null and b/docs/source/images/nodes/init_quantum_circuit1.png differ diff --git a/docs/source/images/nodes/init_quantum_circuit2.png b/docs/source/images/nodes/init_quantum_circuit2.png new file mode 100644 index 0000000..1d39872 Binary files /dev/null and b/docs/source/images/nodes/init_quantum_circuit2.png differ diff --git a/docs/source/images/nodes/init_quantum_circuit3.png b/docs/source/images/nodes/init_quantum_circuit3.png new file mode 100644 index 0000000..5d91cee Binary files /dev/null and b/docs/source/images/nodes/init_quantum_circuit3.png differ diff --git a/docs/source/images/nodes/init_quantum_circuit_counts.png b/docs/source/images/nodes/init_quantum_circuit_counts.png new file mode 100644 index 0000000..ee1e9a2 Binary files /dev/null and b/docs/source/images/nodes/init_quantum_circuit_counts.png differ diff --git a/docs/source/images/nodes/init_quantum_register.png b/docs/source/images/nodes/init_quantum_register.png new file mode 100644 index 0000000..106380b Binary files /dev/null and b/docs/source/images/nodes/init_quantum_register.png differ diff --git a/docs/source/images/nodes/quantum_circuit_output_state.png b/docs/source/images/nodes/quantum_circuit_output_state.png new file mode 100644 index 0000000..9bc5b44 Binary files /dev/null and b/docs/source/images/nodes/quantum_circuit_output_state.png differ diff --git a/docs/source/images/tutorial1/step1.png b/docs/source/images/tutorial1/step1.png new file mode 100644 index 0000000..eda6a83 Binary files /dev/null and b/docs/source/images/tutorial1/step1.png differ diff --git a/docs/source/images/tutorial1/step10.png b/docs/source/images/tutorial1/step10.png new file mode 100644 index 0000000..9e0d399 Binary files /dev/null and b/docs/source/images/tutorial1/step10.png differ diff --git a/docs/source/images/tutorial1/step11.png b/docs/source/images/tutorial1/step11.png new file mode 100644 index 0000000..2612a62 Binary files /dev/null and b/docs/source/images/tutorial1/step11.png differ diff --git a/docs/source/images/tutorial1/step12.png b/docs/source/images/tutorial1/step12.png new file mode 100644 index 0000000..cc9b017 Binary files /dev/null and b/docs/source/images/tutorial1/step12.png differ diff --git a/docs/source/images/tutorial1/step13.png b/docs/source/images/tutorial1/step13.png new file mode 100644 index 0000000..5b09af8 Binary files /dev/null and b/docs/source/images/tutorial1/step13.png differ diff --git a/docs/source/images/tutorial1/step14.png b/docs/source/images/tutorial1/step14.png new file mode 100644 index 0000000..25da224 Binary files /dev/null and b/docs/source/images/tutorial1/step14.png differ diff --git a/docs/source/images/tutorial1/step15.png b/docs/source/images/tutorial1/step15.png new file mode 100644 index 0000000..d376df9 Binary files /dev/null and b/docs/source/images/tutorial1/step15.png differ diff --git a/docs/source/images/tutorial1/step16.png b/docs/source/images/tutorial1/step16.png new file mode 100644 index 0000000..ac897f3 Binary files /dev/null and b/docs/source/images/tutorial1/step16.png differ diff --git a/docs/source/images/tutorial1/step17.png b/docs/source/images/tutorial1/step17.png new file mode 100644 index 0000000..91435a3 Binary files /dev/null and b/docs/source/images/tutorial1/step17.png differ diff --git a/docs/source/images/tutorial1/step18.png b/docs/source/images/tutorial1/step18.png new file mode 100644 index 0000000..6cd611f Binary files /dev/null and b/docs/source/images/tutorial1/step18.png differ diff --git a/docs/source/images/tutorial1/step19.png b/docs/source/images/tutorial1/step19.png new file mode 100644 index 0000000..6c5f33e Binary files /dev/null and b/docs/source/images/tutorial1/step19.png differ diff --git a/docs/source/images/tutorial1/step2.png b/docs/source/images/tutorial1/step2.png new file mode 100644 index 0000000..c2bf88c Binary files /dev/null and b/docs/source/images/tutorial1/step2.png differ diff --git a/docs/source/images/tutorial1/step20.png b/docs/source/images/tutorial1/step20.png new file mode 100644 index 0000000..436c50b Binary files /dev/null and b/docs/source/images/tutorial1/step20.png differ diff --git a/docs/source/images/tutorial1/step21.png b/docs/source/images/tutorial1/step21.png new file mode 100644 index 0000000..64034f0 Binary files /dev/null and b/docs/source/images/tutorial1/step21.png differ diff --git a/docs/source/images/tutorial1/step22.png b/docs/source/images/tutorial1/step22.png new file mode 100644 index 0000000..b303397 Binary files /dev/null and b/docs/source/images/tutorial1/step22.png differ diff --git a/docs/source/images/tutorial1/step23.png b/docs/source/images/tutorial1/step23.png new file mode 100644 index 0000000..69dc23a Binary files /dev/null and b/docs/source/images/tutorial1/step23.png differ diff --git a/docs/source/images/tutorial1/step24.png b/docs/source/images/tutorial1/step24.png new file mode 100644 index 0000000..9e6f06d Binary files /dev/null and b/docs/source/images/tutorial1/step24.png differ diff --git a/docs/source/images/tutorial1/step25.png b/docs/source/images/tutorial1/step25.png new file mode 100644 index 0000000..6321674 Binary files /dev/null and b/docs/source/images/tutorial1/step25.png differ diff --git a/docs/source/images/tutorial1/step26.png b/docs/source/images/tutorial1/step26.png new file mode 100644 index 0000000..b8229d2 Binary files /dev/null and b/docs/source/images/tutorial1/step26.png differ diff --git a/docs/source/images/tutorial1/step27.png b/docs/source/images/tutorial1/step27.png new file mode 100644 index 0000000..2d059a7 Binary files /dev/null and b/docs/source/images/tutorial1/step27.png differ diff --git a/docs/source/images/tutorial1/step28.png b/docs/source/images/tutorial1/step28.png new file mode 100644 index 0000000..6d39a66 Binary files /dev/null and b/docs/source/images/tutorial1/step28.png differ diff --git a/docs/source/images/tutorial1/step3.png b/docs/source/images/tutorial1/step3.png new file mode 100644 index 0000000..f4bdf94 Binary files /dev/null and b/docs/source/images/tutorial1/step3.png differ diff --git a/docs/source/images/tutorial1/step4.png b/docs/source/images/tutorial1/step4.png new file mode 100644 index 0000000..0657fd4 Binary files /dev/null and b/docs/source/images/tutorial1/step4.png differ diff --git a/docs/source/images/tutorial1/step5.png b/docs/source/images/tutorial1/step5.png new file mode 100644 index 0000000..e62005c Binary files /dev/null and b/docs/source/images/tutorial1/step5.png differ diff --git a/docs/source/images/tutorial1/step6.png b/docs/source/images/tutorial1/step6.png new file mode 100644 index 0000000..f8f2161 Binary files /dev/null and b/docs/source/images/tutorial1/step6.png differ diff --git a/docs/source/images/tutorial1/step7.png b/docs/source/images/tutorial1/step7.png new file mode 100644 index 0000000..a1a1a16 Binary files /dev/null and b/docs/source/images/tutorial1/step7.png differ diff --git a/docs/source/images/tutorial1/step8.png b/docs/source/images/tutorial1/step8.png new file mode 100644 index 0000000..454bda4 Binary files /dev/null and b/docs/source/images/tutorial1/step8.png differ diff --git a/docs/source/images/tutorial1/step9.png b/docs/source/images/tutorial1/step9.png new file mode 100644 index 0000000..e1606f8 Binary files /dev/null and b/docs/source/images/tutorial1/step9.png differ diff --git a/docs/source/images/tutorial2/step1.png b/docs/source/images/tutorial2/step1.png new file mode 100644 index 0000000..8babbf7 Binary files /dev/null and b/docs/source/images/tutorial2/step1.png differ diff --git a/docs/source/images/tutorial2/step10.png b/docs/source/images/tutorial2/step10.png new file mode 100644 index 0000000..288829a Binary files /dev/null and b/docs/source/images/tutorial2/step10.png differ diff --git a/docs/source/images/tutorial2/step11.png b/docs/source/images/tutorial2/step11.png new file mode 100644 index 0000000..cba0a6b Binary files /dev/null and b/docs/source/images/tutorial2/step11.png differ diff --git a/docs/source/images/tutorial2/step12.png b/docs/source/images/tutorial2/step12.png new file mode 100644 index 0000000..51dba14 Binary files /dev/null and b/docs/source/images/tutorial2/step12.png differ diff --git a/docs/source/images/tutorial2/step13.png b/docs/source/images/tutorial2/step13.png new file mode 100644 index 0000000..8e37504 Binary files /dev/null and b/docs/source/images/tutorial2/step13.png differ diff --git a/docs/source/images/tutorial2/step14.png b/docs/source/images/tutorial2/step14.png new file mode 100644 index 0000000..5999e94 Binary files /dev/null and b/docs/source/images/tutorial2/step14.png differ diff --git a/docs/source/images/tutorial2/step15.png b/docs/source/images/tutorial2/step15.png new file mode 100644 index 0000000..e4d5a19 Binary files /dev/null and b/docs/source/images/tutorial2/step15.png differ diff --git a/docs/source/images/tutorial2/step16.png b/docs/source/images/tutorial2/step16.png new file mode 100644 index 0000000..bfbcd75 Binary files /dev/null and b/docs/source/images/tutorial2/step16.png differ diff --git a/docs/source/images/tutorial2/step17.png b/docs/source/images/tutorial2/step17.png new file mode 100644 index 0000000..c544675 Binary files /dev/null and b/docs/source/images/tutorial2/step17.png differ diff --git a/docs/source/images/tutorial2/step18.png b/docs/source/images/tutorial2/step18.png new file mode 100644 index 0000000..21b03f8 Binary files /dev/null and b/docs/source/images/tutorial2/step18.png differ diff --git a/docs/source/images/tutorial2/step19.png b/docs/source/images/tutorial2/step19.png new file mode 100644 index 0000000..e1017dd Binary files /dev/null and b/docs/source/images/tutorial2/step19.png differ diff --git a/docs/source/images/tutorial2/step2.png b/docs/source/images/tutorial2/step2.png new file mode 100644 index 0000000..b989b8b Binary files /dev/null and b/docs/source/images/tutorial2/step2.png differ diff --git a/docs/source/images/tutorial2/step20.png b/docs/source/images/tutorial2/step20.png new file mode 100644 index 0000000..52d9758 Binary files /dev/null and b/docs/source/images/tutorial2/step20.png differ diff --git a/docs/source/images/tutorial2/step3.png b/docs/source/images/tutorial2/step3.png new file mode 100644 index 0000000..01c2cb9 Binary files /dev/null and b/docs/source/images/tutorial2/step3.png differ diff --git a/docs/source/images/tutorial2/step4.png b/docs/source/images/tutorial2/step4.png new file mode 100644 index 0000000..76bd316 Binary files /dev/null and b/docs/source/images/tutorial2/step4.png differ diff --git a/docs/source/images/tutorial2/step5.png b/docs/source/images/tutorial2/step5.png new file mode 100644 index 0000000..d72d802 Binary files /dev/null and b/docs/source/images/tutorial2/step5.png differ diff --git a/docs/source/images/tutorial2/step6.png b/docs/source/images/tutorial2/step6.png new file mode 100644 index 0000000..430e967 Binary files /dev/null and b/docs/source/images/tutorial2/step6.png differ diff --git a/docs/source/images/tutorial2/step7.png b/docs/source/images/tutorial2/step7.png new file mode 100644 index 0000000..b4a667d Binary files /dev/null and b/docs/source/images/tutorial2/step7.png differ diff --git a/docs/source/images/tutorial2/step8.png b/docs/source/images/tutorial2/step8.png new file mode 100644 index 0000000..9fc5646 Binary files /dev/null and b/docs/source/images/tutorial2/step8.png differ diff --git a/docs/source/images/tutorial2/step9.png b/docs/source/images/tutorial2/step9.png new file mode 100644 index 0000000..dcc8d5f Binary files /dev/null and b/docs/source/images/tutorial2/step9.png differ diff --git a/docs/source/images/tutorial3/step1.png b/docs/source/images/tutorial3/step1.png new file mode 100644 index 0000000..91c528d Binary files /dev/null and b/docs/source/images/tutorial3/step1.png differ diff --git a/docs/source/images/tutorial3/step10.png b/docs/source/images/tutorial3/step10.png new file mode 100644 index 0000000..cee43ea Binary files /dev/null and b/docs/source/images/tutorial3/step10.png differ diff --git a/docs/source/images/tutorial3/step11.png b/docs/source/images/tutorial3/step11.png new file mode 100644 index 0000000..0a6ec96 Binary files /dev/null and b/docs/source/images/tutorial3/step11.png differ diff --git a/docs/source/images/tutorial3/step12.png b/docs/source/images/tutorial3/step12.png new file mode 100644 index 0000000..f7b9b26 Binary files /dev/null and b/docs/source/images/tutorial3/step12.png differ diff --git a/docs/source/images/tutorial3/step2.png b/docs/source/images/tutorial3/step2.png new file mode 100644 index 0000000..c529a46 Binary files /dev/null and b/docs/source/images/tutorial3/step2.png differ diff --git a/docs/source/images/tutorial3/step3.png b/docs/source/images/tutorial3/step3.png new file mode 100644 index 0000000..b4a667d Binary files /dev/null and b/docs/source/images/tutorial3/step3.png differ diff --git a/docs/source/images/tutorial3/step4.png b/docs/source/images/tutorial3/step4.png new file mode 100644 index 0000000..8282a61 Binary files /dev/null and b/docs/source/images/tutorial3/step4.png differ diff --git a/docs/source/images/tutorial3/step5.png b/docs/source/images/tutorial3/step5.png new file mode 100644 index 0000000..71e75f5 Binary files /dev/null and b/docs/source/images/tutorial3/step5.png differ diff --git a/docs/source/images/tutorial3/step6.png b/docs/source/images/tutorial3/step6.png new file mode 100644 index 0000000..851727f Binary files /dev/null and b/docs/source/images/tutorial3/step6.png differ diff --git a/docs/source/images/tutorial3/step7.png b/docs/source/images/tutorial3/step7.png new file mode 100644 index 0000000..3a255e6 Binary files /dev/null and b/docs/source/images/tutorial3/step7.png differ diff --git a/docs/source/images/tutorial3/step8.png b/docs/source/images/tutorial3/step8.png new file mode 100644 index 0000000..c1d9cc1 Binary files /dev/null and b/docs/source/images/tutorial3/step8.png differ diff --git a/docs/source/images/tutorial3/step9.png b/docs/source/images/tutorial3/step9.png new file mode 100644 index 0000000..a8f19f5 Binary files /dev/null and b/docs/source/images/tutorial3/step9.png differ diff --git a/docs/source/images/tutorial4/step1.png b/docs/source/images/tutorial4/step1.png new file mode 100644 index 0000000..c2497ab Binary files /dev/null and b/docs/source/images/tutorial4/step1.png differ diff --git a/docs/source/images/tutorial4/step10.png b/docs/source/images/tutorial4/step10.png new file mode 100644 index 0000000..3ec22ab Binary files /dev/null and b/docs/source/images/tutorial4/step10.png differ diff --git a/docs/source/images/tutorial4/step11.png b/docs/source/images/tutorial4/step11.png new file mode 100644 index 0000000..50c4255 Binary files /dev/null and b/docs/source/images/tutorial4/step11.png differ diff --git a/docs/source/images/tutorial4/step12.png b/docs/source/images/tutorial4/step12.png new file mode 100644 index 0000000..ce4207e Binary files /dev/null and b/docs/source/images/tutorial4/step12.png differ diff --git a/docs/source/images/tutorial4/step13.png b/docs/source/images/tutorial4/step13.png new file mode 100644 index 0000000..a23f262 Binary files /dev/null and b/docs/source/images/tutorial4/step13.png differ diff --git a/docs/source/images/tutorial4/step2.png b/docs/source/images/tutorial4/step2.png new file mode 100644 index 0000000..2daccaa Binary files /dev/null and b/docs/source/images/tutorial4/step2.png differ diff --git a/docs/source/images/tutorial4/step3.png b/docs/source/images/tutorial4/step3.png new file mode 100644 index 0000000..caf21b6 Binary files /dev/null and b/docs/source/images/tutorial4/step3.png differ diff --git a/docs/source/images/tutorial4/step4.png b/docs/source/images/tutorial4/step4.png new file mode 100644 index 0000000..ef3f494 Binary files /dev/null and b/docs/source/images/tutorial4/step4.png differ diff --git a/docs/source/images/tutorial4/step5.png b/docs/source/images/tutorial4/step5.png new file mode 100644 index 0000000..29f57f0 Binary files /dev/null and b/docs/source/images/tutorial4/step5.png differ diff --git a/docs/source/images/tutorial4/step6.png b/docs/source/images/tutorial4/step6.png new file mode 100644 index 0000000..204af25 Binary files /dev/null and b/docs/source/images/tutorial4/step6.png differ diff --git a/docs/source/images/tutorial4/step7.png b/docs/source/images/tutorial4/step7.png new file mode 100644 index 0000000..c9458bf Binary files /dev/null and b/docs/source/images/tutorial4/step7.png differ diff --git a/docs/source/images/tutorial4/step8.png b/docs/source/images/tutorial4/step8.png new file mode 100644 index 0000000..c7fbea4 Binary files /dev/null and b/docs/source/images/tutorial4/step8.png differ diff --git a/docs/source/images/tutorial4/step9.png b/docs/source/images/tutorial4/step9.png new file mode 100644 index 0000000..75c03ee Binary files /dev/null and b/docs/source/images/tutorial4/step9.png differ diff --git a/docs/source/images/tutorials/measure.png b/docs/source/images/tutorials/measure.png new file mode 100644 index 0000000..1c43a77 Binary files /dev/null and b/docs/source/images/tutorials/measure.png differ diff --git a/docs/source/images/tutorials/quantum-circuit.png b/docs/source/images/tutorials/quantum-circuit.png new file mode 100644 index 0000000..c39796f Binary files /dev/null and b/docs/source/images/tutorials/quantum-circuit.png differ diff --git a/docs/source/images/tutorials/quantum-entanglement.png b/docs/source/images/tutorials/quantum-entanglement.png new file mode 100644 index 0000000..c9f22fe Binary files /dev/null and b/docs/source/images/tutorials/quantum-entanglement.png differ diff --git a/docs/source/images/tutorials/quantum-gate-not.png b/docs/source/images/tutorials/quantum-gate-not.png new file mode 100644 index 0000000..f03c97e Binary files /dev/null and b/docs/source/images/tutorials/quantum-gate-not.png differ diff --git a/docs/source/images/tutorials/quantum-gates.png b/docs/source/images/tutorials/quantum-gates.png new file mode 100644 index 0000000..86e9501 Binary files /dev/null and b/docs/source/images/tutorials/quantum-gates.png differ diff --git a/docs/source/nodes/documentation_gates.rst b/docs/source/nodes/documentation_gates.rst index f750d5c..09dcc2b 100644 --- a/docs/source/nodes/documentation_gates.rst +++ b/docs/source/nodes/documentation_gates.rst @@ -56,7 +56,7 @@ Gate to all circuit | **Description:** The Hadamard gate is a single-qubit operation that maps the basis state ∣0⟩ to 2​∣0⟩+∣1⟩​ and ∣1⟩ to 2​∣0⟩−∣1⟩​, thus creating an equal superposition of the two basis states. | **Expected result:** The Hadamard gate can be expressed as a 90º rotation around the Y-axis, followed by a 180º rotation around the X-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_all.png +.. image:: /images/nodes/gate_all.png :width: 60% :alt: Quantum gate :align: center @@ -78,7 +78,7 @@ Gate H | **Description:** The Hadamard gate is a single-qubit operation that maps the basis state ∣0⟩ to 2​∣0⟩+∣1⟩​ and ∣1⟩ to 2​∣0⟩−∣1⟩​, thus creating an equal superposition of the two basis states. | **Expected result:** The Hadamard gate can be expressed as a 90º rotation around the Y-axis, followed by a 180º rotation around the X-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_sdg_and_others.png +.. image:: /images/nodes/gate_sdg_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -99,7 +99,7 @@ Gate ID | | **Expected result:** This gate will not show visible results as it is a "do-nothing" gate. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_sdg_and_others.png +.. image:: /images/nodes/gate_sdg_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -122,7 +122,7 @@ Gate S | The S gate is equivalent to the RZ gate for the angle pi/2. | **Expected result:** The S gate represents a 90-degree rotation around the z-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_sdg_and_others.png +.. image:: /images/nodes/gate_sdg_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -143,7 +143,7 @@ Gate SDG | | **Description:** The S Dagger Gate (SDG gate) is the conjugate transpose (inverse) of the S gate. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_sdg_and_others.png +.. image:: /images/nodes/gate_sdg_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -165,7 +165,7 @@ Gate T | **Description:** The T gate is a single-qubit operation. | The T gate is equivalent to the RZ gate for the angle pi/4. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_sdg_and_others.png +.. image:: /images/nodes/gate_sdg_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -186,7 +186,7 @@ Gate TDG | | **Description:** The T Dagger Gate (TDG gate) is the conjugate transpose (inverse) of the T gate. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_sdg_and_others.png +.. image:: /images/nodes/gate_sdg_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -207,7 +207,7 @@ Gate X | | **Description:** The X or Pauli-X gate is a single-qubit rotation through π radians around the x-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_sdg_and_others.png +.. image:: /images/nodes/gate_sdg_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -228,7 +228,7 @@ Gate Y | | **Description:** The Y or Pauli-Y gate is a single-qubit rotation through π radians around the y-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_sdg_and_others.png +.. image:: /images/nodes/gate_sdg_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -249,7 +249,7 @@ Gate Z | | **Description:** The Z or Pauli-Z gate is a single-qubit rotation through π radians around the z-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_sdg_and_others.png +.. image:: /images/nodes/gate_sdg_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -276,7 +276,7 @@ Gate RX | | **Description:** The Rx gate is one of the Rotation operators. The Rx gate is a single-qubit rotation through angle θ (radians) around the x-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_rz_and_others.png +.. image:: /images/nodes/gate_rz_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -297,7 +297,7 @@ Gate RY | | **Description:** The Ry gate is one of the Rotation operators. The Ry gate is a single-qubit rotation through angle θ (radians) around the y-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_rz_and_others.png +.. image:: /images/nodes/gate_rz_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -318,7 +318,7 @@ Gate RZ | | **Description:** The Rz gate is one of the Rotation operators. The Ry gate is a single-qubit rotation through angle θ (radians) around the y-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_rz_and_others.png +.. image:: /images/nodes/gate_rz_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -347,7 +347,7 @@ Gates CX, CY, CZ, CH | The CX, CY, CZ, CH gates leave the control qubit unchanged and performs a X, Y, Z or H gate on the target qubit when the control qubit is in state ``∣1⟩`` or leave the target qubit unchanged when the control qubit is in state ∣0⟩. | Simply, these gates apply a X, Y, Z or H gate on the target qubit if the control qubit is in the ``|1⟩`` state. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_cy_and_others.png +.. image:: /images/nodes/gate_cy_and_others.png :width: 60% :alt: Quantum gate :align: center @@ -372,7 +372,7 @@ Gate CCX | | **Usage:** Applies the X gate to a target qubit depending on two control qubits specified by the user. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_ccx.png +.. image:: /images/nodes/gate_ccx.png :width: 60% :alt: Quantum gate :align: center @@ -394,7 +394,7 @@ Gate SWAP | **Description:** The SWAP gate is two-qubit operation. | Expressed in basis states, the SWAP gate swaps the state of the two qubits involved in the operation. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_swap.png +.. image:: /images/nodes/gate_swap.png :width: 60% :alt: Quantum gate :align: center @@ -416,7 +416,7 @@ Gate CSWAP | **Description:** The CSWAP gate is two-qubit operation. | Expressed in basis states, the CSWAP gate swaps the state of the two qubits involved in the operation depending on a control qubit. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/gate_cswap.png +.. image:: /images/nodes/gate_cswap.png :width: 60% :alt: Quantum gate :align: center diff --git a/docs/source/nodes/documentation_input.rst b/docs/source/nodes/documentation_input.rst index 93b0fcf..8ed63a3 100644 --- a/docs/source/nodes/documentation_input.rst +++ b/docs/source/nodes/documentation_input.rst @@ -23,7 +23,7 @@ Init Classical Register | **Usage:** Calls the ``ClassicalRegister()`` Qiskit function to create a classical register of the length of the integer given as a parameter. | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/init_classical_register.png +.. image:: /images/nodes/init_classical_register.png :width: 60% :alt: Classical register :align: center @@ -43,7 +43,7 @@ Init Quantum Register | **Usage:** Calls the ``QuantumRegister()`` Qiskit function to create a quantum register of the length of the integer given as a parameter. | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/init_quantum_register.png +.. image:: /images/nodes/init_quantum_register.png :width: 60% :alt: Quantum register :align: center @@ -67,7 +67,7 @@ Init Quantum Circuit | If the input is a quantum register, the quantum circuit will be initialised from that register. | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/init_quantum_circuit1.png +.. image:: /images/nodes/init_quantum_circuit1.png :width: 60% :alt: Quantum circuit :align: center @@ -75,7 +75,7 @@ Init Quantum Circuit | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/init_quantum_circuit2.png +.. image:: /images/nodes/init_quantum_circuit2.png :width: 60% :alt: Quantum circuit :align: center @@ -83,7 +83,7 @@ Init Quantum Circuit | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/init_quantum_circuit3.png +.. image:: /images/nodes/init_quantum_circuit3.png :width: 60% :alt: Quantum circuit :align: center diff --git a/docs/source/nodes/documentation_output.rst b/docs/source/nodes/documentation_output.rst index b949734..d8349b8 100644 --- a/docs/source/nodes/documentation_output.rst +++ b/docs/source/nodes/documentation_output.rst @@ -25,7 +25,7 @@ Quantum Circuit Get Count | ``return execute(quantum_circuit,Aer.get_backend('qasm_simulator')).result().get_counts()`` | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/init_quantum_circuit_counts.png +.. image:: /images/nodes/init_quantum_circuit_counts.png :width: 60% :alt: Quantum circuit get count :align: center @@ -45,7 +45,7 @@ Init Quantum Register | **Usage:** Measures the chosen qubit OR all qubits. | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/init_quantum_register.png +.. image:: /images/nodes/init_quantum_register.png :width: 60% :alt: Quantum register :align: center @@ -64,7 +64,7 @@ Quantum Circuit Output State | **Usage:** Returns the state of the circuit. | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/quantum_circuit_output_state.png +.. image:: /images/nodes/quantum_circuit_output_state.png :width: 60% :alt: Quantum circuit output state :align: center @@ -83,7 +83,7 @@ Quantum Circuit IBM Output | **Usage:** Send the quantum circuit to be computed by IBM quantum computers instead of the Blender simulation. | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/nodes/ibm.png +.. image:: /images/nodes/ibm.png :width: 60% :alt: Quantum circuit ibm output :align: center diff --git a/docs/source/spelling_wordlist.txt b/docs/source/spelling_wordlist.txt index d12dd94..ff8fffd 100644 --- a/docs/source/spelling_wordlist.txt +++ b/docs/source/spelling_wordlist.txt @@ -1,4 +1,4 @@ -Gitlab +Github subchapter subsubchapter subchapters @@ -9,7 +9,6 @@ docstring Schrödinger Azercoco boolean -numpy py conda qubit diff --git a/docs/source/tutorials/prerequisites/quantum_circuits.rst b/docs/source/tutorials/prerequisites/quantum_circuits.rst index 55f1296..be9f9d1 100644 --- a/docs/source/tutorials/prerequisites/quantum_circuits.rst +++ b/docs/source/tutorials/prerequisites/quantum_circuits.rst @@ -24,7 +24,7 @@ Quantum circuit Example of a quantum circuit: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorials/quantum-circuit.png +.. image:: /images/tutorials/quantum-circuit.png :width: 60% :alt: IBM Quantum Composer :align: center @@ -47,7 +47,7 @@ In this representation, we observe that the quantum circuit is composed of 2 par | To store the value of a qubit in a bit, we will perform a measurement on the qubit, here represented by the icon: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorials/measure.png +.. image:: /images/tutorials/measure.png :width: 4% :alt: Measure Icon :align: center diff --git a/docs/source/tutorials/prerequisites/quantum_gates.rst b/docs/source/tutorials/prerequisites/quantum_gates.rst index 84e7f93..94be27f 100644 --- a/docs/source/tutorials/prerequisites/quantum_gates.rst +++ b/docs/source/tutorials/prerequisites/quantum_gates.rst @@ -7,7 +7,7 @@ Now that we have seen what a qubit is, how can we manipulate them? For bits we use “logic gates”. These allow the creation of algorithms to perform calculations: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorials/quantum-gates.png +.. image:: /images/tutorials/quantum-gates.png :width: 60% :alt: Quantum gates :align: center @@ -33,7 +33,7 @@ Manipulation of quantum gates Example of the **NOT gate**: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorials/quantum-gate-not.png +.. image:: /images/tutorials/quantum-gate-not.png :width: 60% :alt: Quantum gate not :align: center diff --git a/docs/source/tutorials/prerequisites/qubits.rst b/docs/source/tutorials/prerequisites/qubits.rst index 9861271..428a3be 100644 --- a/docs/source/tutorials/prerequisites/qubits.rst +++ b/docs/source/tutorials/prerequisites/qubits.rst @@ -71,7 +71,7 @@ Just like bits, qubits are combined to make a result. In the same way, we align In the same way that 3 bits can compose 23 = 8 possible sequences, 3 qubits can compose 8 possible sequences. | However bits are static, once in a state it composes only one possible sequence, while qubits are sometimes not determined, they can give several different results according to the probabilities of qubits. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorials/quantum-entanglement.png +.. image:: /images/tutorials/quantum-entanglement.png :width: 60% :alt: Multiple qubits :align: center diff --git a/docs/source/tutorials/tutorials/tutorial1.rst b/docs/source/tutorials/tutorials/tutorial1.rst index 729dfac..9389379 100644 --- a/docs/source/tutorials/tutorials/tutorial1.rst +++ b/docs/source/tutorials/tutorials/tutorial1.rst @@ -16,7 +16,7 @@ Tutorial 1 - Create a quantum circuit * First, open the Animation-Nodes window and create a new node tree. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step1.png +.. image:: /images/tutorial1/step1.png :width: 85% :alt: Step 1 :align: center @@ -24,7 +24,7 @@ Tutorial 1 - Create a quantum circuit | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step2.png +.. image:: /images/tutorial1/step2.png :width: 85% :alt: Step 2 :align: center @@ -34,7 +34,7 @@ Tutorial 1 - Create a quantum circuit * In the Animation nodes panel, we can use nodes from Animation Nodes and Quantum Nodes. Press Shift+A to open the Animation Nodes menu or click the Add menu. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step3.png +.. image:: /images/tutorial1/step3.png :width: 85% :alt: Step 3 :align: center @@ -44,7 +44,7 @@ Tutorial 1 - Create a quantum circuit | In this menu you can see all options from Animation Nodes. In the bottom, there is a the Quantum Nodes menu. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step4.png +.. image:: /images/tutorial1/step4.png :width: 85% :alt: Step 4 :align: center @@ -58,7 +58,7 @@ Tutorial 1 - Create a quantum circuit * In the **Init Quantum Circuit** menu, select **Init Classical register** and **Init Quantum register**. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step5.png +.. image:: /images/tutorial1/step5.png :width: 85% :alt: Step 5 :align: center @@ -69,7 +69,7 @@ Tutorial 1 - Create a quantum circuit | We now have 2 registers. | You can choose the number of qubits and bits you want to use. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step6.png +.. image:: /images/tutorial1/step6.png :width: 50% :alt: Step 6 :align: center @@ -81,7 +81,7 @@ Tutorial 1 - Create a quantum circuit * | Select **Init Quantum Circuit** -> **Init Quantum Circuit**. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step7.png +.. image:: /images/tutorial1/step7.png :width: 85% :alt: Step 7 :align: center @@ -91,7 +91,7 @@ Tutorial 1 - Create a quantum circuit | In this node you can select if you want to initialize your circuit by input number of qubits and bits, or use registers. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step8.png +.. image:: /images/tutorial1/step8.png :width: 85% :alt: Step 8 :align: center @@ -101,7 +101,7 @@ Tutorial 1 - Create a quantum circuit * | We are going to use our registers, select option “Quantum and Classical register”, and link registers to the node. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step9.png +.. image:: /images/tutorial1/step9.png :width: 85% :alt: Step 9 :align: center @@ -122,7 +122,7 @@ Tutorial 1 - Create a quantum circuit * | Go to the menu Quantum Gates. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step10.png +.. image:: /images/tutorial1/step10.png :width: 85% :alt: Step 10 :align: center @@ -141,7 +141,7 @@ Tutorial 1 - Create a quantum circuit * | Select **Quantum Gate X** (the NOT gate) in the **Single Qubit Gates** menu. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step11.png +.. image:: /images/tutorial1/step11.png :width: 85% :alt: Step 11 :align: center @@ -154,7 +154,7 @@ Tutorial 1 - Create a quantum circuit | You can also add the same gate to another qubit. | In output we get back our circuit. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step12.png +.. image:: /images/tutorial1/step12.png :width: 50% :alt: Step 12 :align: center @@ -165,7 +165,7 @@ Tutorial 1 - Create a quantum circuit | With a viewer node you can see the quantum circuit representation. | Here we can see the X gate applies to the qubit 0. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step13.png +.. image:: /images/tutorial1/step13.png :width: 85% :alt: Step 13 :align: center @@ -177,7 +177,7 @@ Tutorial 1 - Create a quantum circuit * | Select **Quantum Gate CX** in the **C Gates** menu and input the circuit in it. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step14.png +.. image:: /images/tutorial1/step14.png :width: 85% :alt: Step 14 :align: center @@ -189,7 +189,7 @@ Tutorial 1 - Create a quantum circuit * | You have to choose which qubit will control and which qubit will be the target. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step15.png +.. image:: /images/tutorial1/step15.png :width: 85% :alt: Step 15 :align: center @@ -212,7 +212,7 @@ Tutorial 1 - Create a quantum circuit * | To store qubit values in bits we are going to use the node **Quantum Output** -> **Quantum Output** -> **Quantum Measure** -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step16.png +.. image:: /images/tutorial1/step16.png :width: 85% :alt: Step 16 :align: center @@ -223,7 +223,7 @@ Tutorial 1 - Create a quantum circuit | With this node you can choose which qubit value will be stored in which bit. | There is also an option to directly measure all qubits and automatically store them in a bit. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step17.png +.. image:: /images/tutorial1/step17.png :width: 50% :alt: Step 17 :align: center @@ -231,7 +231,7 @@ Tutorial 1 - Create a quantum circuit | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step18.png +.. image:: /images/tutorial1/step18.png :width: 50% :alt: Step 18 :align: center @@ -242,7 +242,7 @@ Tutorial 1 - Create a quantum circuit | Here we choose to only measure the qubit 0 and 1 and store them in the bits 0 and 1. | To do that use two **Quantum measure** nodes. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step19.png +.. image:: /images/tutorial1/step19.png :width: 85% :alt: Step 19 :align: center @@ -263,7 +263,7 @@ Counts A **measure node** is needed for this node to work. Add one between your circuit and the Get count node or else it won't work. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step20.png +.. image:: /images/tutorial1/step20.png :width: 85% :alt: Step 20 :align: center @@ -278,7 +278,7 @@ Counts In this example, we try 1024 times the circuit and get 1024 times the result “11”, which means that there is 100% chance of getting “11” as the result of this circuit. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step21.png +.. image:: /images/tutorial1/step21.png :width: 85% :alt: Step 21 :align: center @@ -295,7 +295,7 @@ State vector * | To use it select **Quantum Output State**. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step22.png +.. image:: /images/tutorial1/step22.png :width: 85% :alt: Step 22 :align: center @@ -305,7 +305,7 @@ State vector | Here we have a list of 8 complex numbers related to the number of possibilities (2^3 sequences). -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step23.png +.. image:: /images/tutorial1/step23.png :width: 85% :alt: Step 23 :align: center @@ -325,7 +325,7 @@ State vector If you want probabilities you have to use Quantum Output State without measures (other example in annex) -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step24.png +.. image:: /images/tutorial1/step24.png :width: 85% :alt: Step 24 :align: center @@ -339,7 +339,7 @@ Other quantum circuits: *1 Qubit, Hadamard Gate* -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step25.png +.. image:: /images/tutorial1/step25.png :width: 85% :alt: Step 25 :align: center @@ -349,7 +349,7 @@ Other quantum circuits: *2 Qubits, Hadamard Gate (q0), Rotation X Gate (5°)(q1)* -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step26.png +.. image:: /images/tutorial1/step26.png :width: 85% :alt: Step 26 :align: center @@ -359,7 +359,7 @@ Other quantum circuits: *“Bell state”: 2 Qubits, Hadamard Gate (q0), CX Gate (q0 -> q1)* -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step27.png +.. image:: /images/tutorial1/step27.png :width: 85% :alt: Step 27 :align: center @@ -369,7 +369,7 @@ Other quantum circuits: *“Bell state” with measures* -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial1/step28.png +.. image:: /images/tutorial1/step28.png :width: 85% :alt: Step 28 :align: center diff --git a/docs/source/tutorials/tutorials/tutorial2.rst b/docs/source/tutorials/tutorials/tutorial2.rst index 1d836b9..c6ae4b2 100644 --- a/docs/source/tutorials/tutorials/tutorial2.rst +++ b/docs/source/tutorials/tutorials/tutorial2.rst @@ -24,7 +24,7 @@ Tutorial 2 - Use a quantum circuit to modify a mesh Let's create the following circuit: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step1.png +.. image:: /images/tutorial2/step1.png :width: 85% :alt: Step 1 :align: center @@ -38,7 +38,7 @@ Let's create the following circuit: | Let's create the Quantum Circuit group: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step2.png +.. image:: /images/tutorial2/step2.png :width: 85% :alt: Step 2 :align: center @@ -49,7 +49,7 @@ Let's create the following circuit: | To use complexes, we will need to convert our output into floats. | To do that, Quantum Nodes implements a node **Split Complex128** that returns float from the real part and the imaginary part of the complex number. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step3.png +.. image:: /images/tutorial2/step3.png :width: 85% :alt: Step 3 :align: center @@ -57,7 +57,7 @@ Let's create the following circuit: | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step4.png +.. image:: /images/tutorial2/step4.png :width: 85% :alt: Step 4 :align: center @@ -72,7 +72,7 @@ Let's create the following circuit: * | Create a new node tree and create a loop with an input taking Complex128. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step5.png +.. image:: /images/tutorial2/step5.png :width: 85% :alt: Step 5 :align: center @@ -82,7 +82,7 @@ Let's create the following circuit: * | Link this node to the node **Split complex128**. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step6.png +.. image:: /images/tutorial2/step6.png :width: 85% :alt: Step 6 :align: center @@ -92,7 +92,7 @@ Let's create the following circuit: * | Finally, create two outputs giving the real part and the imaginary part by clicking on New Generator Output in **Loop Input** and choosing Float List. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step7.png +.. image:: /images/tutorial2/step7.png :width: 85% :alt: Step 7 :align: center @@ -116,7 +116,7 @@ Let's create the following circuit: * | First, call the object with **Object Input** and get his vertices with **Mesh Object Input**. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step8.png +.. image:: /images/tutorial2/step8.png :width: 85% :alt: Step 8 :align: center @@ -126,7 +126,7 @@ Let's create the following circuit: | To be able to modify vertices from the object, we are going to get all vectors from the vertex locations and separate them to modify the axes independently. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step9.png +.. image:: /images/tutorial2/step9.png :width: 85% :alt: Step 9 :align: center @@ -137,7 +137,7 @@ Let's create the following circuit: * | Go to the 3D Viewport and create a new cube. * | Use the eyedropper tool from the **Object Input** node and select the cube. This is how you choose what object the tree and therefore the quantum circuit will be applied to. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step10.png +.. image:: /images/tutorial2/step10.png :width: 85% :alt: Step 10 :align: center @@ -154,7 +154,7 @@ Let's create the following circuit: | If you use the Viewer node, you can see the vertex locations of the cube. | For example we can see all floats x from vectors. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step11.png +.. image:: /images/tutorial2/step11.png :width: 85% :alt: Step 11 :align: center @@ -173,7 +173,7 @@ Let's create the following circuit: * | We use **Invoke Subprogram** to call our quantum circuit and our loop and link them to get two float lists. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step12.png +.. image:: /images/tutorial2/step12.png :width: 85% :alt: Step 12 :align: center @@ -181,7 +181,7 @@ Let's create the following circuit: | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step13.png +.. image:: /images/tutorial2/step13.png :width: 85% :alt: Step 13 :align: center @@ -193,7 +193,7 @@ Let's create the following circuit: | For example I can choose to only change the x list by adding the real list and combine a new vector. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step14.png +.. image:: /images/tutorial2/step14.png :width: 85% :alt: Step 14 :align: center @@ -203,7 +203,7 @@ Let's create the following circuit: * | We need to send our new vector to the cube again by using the **Mesh Object Output** node and select the type vertices. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step15.png +.. image:: /images/tutorial2/step15.png :width: 85% :alt: Step 15 :align: center @@ -213,7 +213,7 @@ Let's create the following circuit: | We can see that some vertices from our cube have been moved along the x-axis. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step16.png +.. image:: /images/tutorial2/step16.png :width: 50% :alt: Step 16 :align: center @@ -221,7 +221,7 @@ Let's create the following circuit: | -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step17.png +.. image:: /images/tutorial2/step17.png :width: 50% :alt: Step 17 :align: center @@ -235,7 +235,7 @@ Let's create the following circuit: Example if we to change to have 4 qubits: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step18.png +.. image:: /images/tutorial2/step18.png :width: 85% :alt: Step 18 :align: center @@ -259,7 +259,7 @@ Example if we to change to have 4 qubits: | In parameters, we will take a float list for the real part of complex numbers. | We will get the float in the list related to the index and repeat the loop until the iteration number is equal to the number of vertices. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step19.png +.. image:: /images/tutorial2/step19.png :width: 85% :alt: Step 19 :align: center @@ -270,7 +270,7 @@ Example if we to change to have 4 qubits: | We can use this loop in our main tree with **Invoke subprogram**. | To use it correctly, we have to input the float list from the quantum circuit and specify the number of iteration with the number of vertices. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial2/step20.png +.. image:: /images/tutorial2/step20.png :width: 85% :alt: Step 20 :align: center diff --git a/docs/source/tutorials/tutorials/tutorial3.rst b/docs/source/tutorials/tutorials/tutorial3.rst index 099c958..b6eb54b 100644 --- a/docs/source/tutorials/tutorials/tutorial3.rst +++ b/docs/source/tutorials/tutorials/tutorial3.rst @@ -22,7 +22,7 @@ Tutorial 3 - Use a quantum circuit to modify the location, rotation or scale of | In this example, we are going to use the following circuit, with 2 qubits and an RX gate: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step1.png +.. image:: /images/tutorial3/step1.png :width: 85% :alt: Step 1 :align: center @@ -32,7 +32,7 @@ Tutorial 3 - Use a quantum circuit to modify the location, rotation or scale of | In order to ease the readability of our tree as we did in the last tutorial, we are going to put this circuit into a group so we can use it later as a subprogram. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step2.png +.. image:: /images/tutorial3/step2.png :width: 50% :alt: Step 2 :align: center @@ -52,7 +52,7 @@ Tutorial 3 - Use a quantum circuit to modify the location, rotation or scale of * | For this, we are going to create the same subprogram as we saw in the first part of Tutorial #2. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step3.png +.. image:: /images/tutorial3/step3.png :width: 85% :alt: Step 3 :align: center @@ -66,7 +66,7 @@ Tutorial 3 - Use a quantum circuit to modify the location, rotation or scale of * | First we are going to create our group and link our two subprograms Quantum Circuit and Complex into float, just like this: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step4.png +.. image:: /images/tutorial3/step4.png :width: 85% :alt: Step 4 :align: center @@ -76,7 +76,7 @@ Tutorial 3 - Use a quantum circuit to modify the location, rotation or scale of * | Then we retrieve the values we want from the float list thanks to the Get List Element node and insert it into the vector that we are going to return. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step5.png +.. image:: /images/tutorial3/step5.png :width: 85% :alt: Step 5 :align: center @@ -104,7 +104,7 @@ Tutorial 3 - Use a quantum circuit to modify the location, rotation or scale of * | Then we need to get our vector from the Create Vector Subprogram and link it to our transform Node. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step6.png +.. image:: /images/tutorial3/step6.png :width: 85% :alt: Step 6 :align: center @@ -116,22 +116,22 @@ Tutorial 3 - Use a quantum circuit to modify the location, rotation or scale of | Once you've linked it, you should see your object moving when the node tree is executed. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step7.png +.. image:: /images/tutorial3/step7.png :width: 30% :alt: Step 7 :class: img-rounded -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step8.png +.. image:: /images/tutorial3/step8.png :width: 30% :alt: Step 8 :class: img-rounded -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step9.png +.. image:: /images/tutorial3/step9.png :width: 30% :alt: Step 9 :class: img-rounded | It is the same principle for scaling. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step10.png +.. image:: /images/tutorial3/step10.png :width: 85% :alt: Step 10 :align: center @@ -146,11 +146,11 @@ Tutorial 3 - Use a quantum circuit to modify the location, rotation or scale of | Be careful not to activate the parameters if they are always at zero, else your cube will disappear. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step11.png +.. image:: /images/tutorial3/step11.png :width: 47% :alt: Step 11 :class: img-rounded -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial3/step12.png +.. image:: /images/tutorial3/step12.png :width: 47% :alt: Step 12 :class: img-rounded \ No newline at end of file diff --git a/docs/source/tutorials/tutorials/tutorial4.rst b/docs/source/tutorials/tutorials/tutorial4.rst index 222c2ea..31e5a19 100644 --- a/docs/source/tutorials/tutorials/tutorial4.rst +++ b/docs/source/tutorials/tutorials/tutorial4.rst @@ -16,7 +16,7 @@ Tutorial 4 - Create and manipulate meshes using the Quantum Blur Example of output you can get by using a Quantum Blur: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step1.png +.. image:: /images/tutorial4/step1.png :width: 85% :alt: Step 1 :align: center @@ -36,7 +36,7 @@ To organize this node tree better, we will divide it in 3 parts: the quantum cir Let's create the following circuit: -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step2.png +.. image:: /images/tutorial4/step2.png :width: 85% :alt: Step 2 :align: center @@ -51,7 +51,7 @@ Let's create the following circuit: * | Add a **Group Output.** -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step3.png +.. image:: /images/tutorial4/step3.png :width: 85% :alt: Step 3 :align: center @@ -70,7 +70,7 @@ Let's create the following circuit: * | Add a RX, RY and RZ gates between the Quantum Blur Input and Output and link the circuit input-output. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step4.png +.. image:: /images/tutorial4/step4.png :width: 85% :alt: Step 4 :align: center @@ -82,7 +82,7 @@ Let's create the following circuit: * | Add a **Time Info** node (gives the frame number), a **Square Root** node, a **Random Number** node and a **Math divide** node. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step5.png +.. image:: /images/tutorial4/step5.png :width: 85% :alt: Step 5 :align: center @@ -109,7 +109,7 @@ Let's create the following circuit: * | Add a **Group Input** using two float lists and a **Group Output**. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step6.png +.. image:: /images/tutorial4/step6.png :width: 85% :alt: Step 6 :align: center @@ -127,7 +127,7 @@ Let's create the following circuit: * | For the Sign Test node tree, add a **Loop Input** with the Subprograms tab, then a **Compare** node, a **Switch** node and the **Loop Output** (a float list). -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step7.png +.. image:: /images/tutorial4/step7.png :width: 85% :alt: Step 7 :align: center @@ -137,7 +137,7 @@ Let's create the following circuit: * | For the Multiply node tree, add a **Loop Input**, then a **Multiply** node and the **Loop Output** (a float list). -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step8.png +.. image:: /images/tutorial4/step8.png :width: 85% :alt: Step 8 :align: center @@ -149,7 +149,7 @@ Let's create the following circuit: | These nodes allow us to modify the original values with the ones we got in the quantum circuit output. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step9.png +.. image:: /images/tutorial4/step9.png :width: 85% :alt: Step 9 :align: center @@ -159,7 +159,7 @@ Let's create the following circuit: | With the aim of adding more randomness through the values of quantum outputs in the lists we create, we also added Math functions like a Multiply with the Absolute value of the list we got at the end of the Quantum Circuit. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step10.png +.. image:: /images/tutorial4/step10.png :width: 85% :alt: Step 10 :align: center @@ -181,7 +181,7 @@ Let's create the following circuit: | The output type is vertices because this is what we want to modify. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step11.png +.. image:: /images/tutorial4/step11.png :width: 85% :alt: Step 11 :align: center @@ -194,7 +194,7 @@ Let's create the following circuit: | Use a **Separate Vector** node to separate x, y, z. | Add a **Combine Vector** node before the Output as we will need them to be reunited at the end. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step12.png +.. image:: /images/tutorial4/step12.png :width: 85% :alt: Step 12 :align: center @@ -206,7 +206,7 @@ Let's create the following circuit: * | Add an **Invoke Subprogram** node for every subprogram we call: the quantum circuit and the mesh data and link them. -.. image:: https://gitlab.com/quantum-creative-group/quantum_nodes_manual/-/raw/assets/tutorial4/step13.png +.. image:: /images/tutorial4/step13.png :width: 85% :alt: Step 13 :align: center diff --git a/quantum_nodes/__init__.py b/quantum_nodes/__init__.py index 30e4160..37ec480 100644 --- a/quantum_nodes/__init__.py +++ b/quantum_nodes/__init__.py @@ -21,12 +21,12 @@ bl_info = { "name": "Quantum Nodes", "author": "Quantum Creative Group", - "version": (0, 1, 1), - "blender": (2, 92, 0), + "version": (0, 1, 2), + "blender": (2, 93, 0), "location": "Animation Nodes Editor", "description": "Animation Nodes extension which implements quantum computing tools.", "warning": "This version is still in development.", - "doc_url": "https://quantum-creative-group.gitlab.io/quantum_nodes_manual/", + "doc_url": "https://quantum-creative-group.github.io/quantum_nodes/", "tracker_url": "https://github.com/Quantum-Creative-Group/quantum_nodes/issues", "category": "Node", } diff --git a/quantum_nodes/demo_addon/panels/qn_demo_addon.py b/quantum_nodes/demo_addon/panels/qn_demo_addon.py index c0ffa19..2b1649d 100644 --- a/quantum_nodes/demo_addon/panels/qn_demo_addon.py +++ b/quantum_nodes/demo_addon/panels/qn_demo_addon.py @@ -111,7 +111,7 @@ def draw(self, context): row.operator( 'wm.url_open', text="Need Help ?", - icon='BOOKMARKS').url = 'https://quantum-creative-group.gitlab.io/quantum_nodes_manual/' + icon='BOOKMARKS').url = 'https://quantum-creative-group.github.io/quantum_nodes/' row = self.addRow(1) row.operator( 'wm.url_open', diff --git a/quantum_nodes/ui/panels/main_panel.py b/quantum_nodes/ui/panels/main_panel.py index 8841de4..95e27de 100644 --- a/quantum_nodes/ui/panels/main_panel.py +++ b/quantum_nodes/ui/panels/main_panel.py @@ -87,7 +87,7 @@ def draw(self, context): row.operator( 'wm.url_open', text="Need Help ?", - icon='BOOKMARKS').url = 'https://quantum-creative-group.gitlab.io/quantum_nodes_manual/' + icon='BOOKMARKS').url = 'https://quantum-creative-group.github.io/quantum_nodes/' row = layout.row() row.operator( 'wm.url_open',