Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/source/_images/trasformations/qlasskit_transformations.odg
Binary file not shown.
Binary file modified docs/source/_images/trasformations/qlasskit_transformations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,004 changes: 805 additions & 199 deletions docs/source/_images/trasformations/qlasskit_transformations.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions docs/source/how_it_works.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
"\n",
"To convert Python code into a quantum circuit, qlasskit implements a series of transformations:\n",
"\n",
"1. It begins with the Python *AST* (Abstract Syntax Tree), converting it into a more streamlined form using the `ast2ast` module. \n",
"2. Next, the streamlined AST is translated into *boolean expressions* as an intermediate step by the `ast2logic` module. \n",
"During this phase, boolean expressions are refined and optimized in preparation for the final transformation.\n",
"1. It begins with the Python *AST* (Abstract Syntax Tree), converting it into *boolean expressions* as an intermediate step by the `ast2logic` module.\n",
"2. Boolean expressions are refined and optimized in preparation for the final transformation.\n",
"3. Finally, the `compiler` module takes these optimized boolean expressions and compiles them into a \n",
"*quantum circuit*.\n",
"\n",
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ include = [
"qlasskit.boolopt",
"qlasskit.types",
"qlasskit.ast2logic",
"qlasskit.ast2ast",
"qlasskit.qcircuit",
"qlasskit.compiler",
"qlasskit.algorithms",
Expand Down
3 changes: 1 addition & 2 deletions qlasskit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

from .qcircuit import QCircuit, SupportedFrameworks, SupportedFramework # noqa: F401
from .qlassfun import QlassF, qlassf, qlassfa # noqa: F401
from .ast2ast import ast2ast # noqa: F401
from .ast2logic import exceptions # noqa: F401
from .ast2logic import exceptions, preprocess_ast # noqa: F401
from .types import ( # noqa: F401, F403
const_to_qtype,
interpret_as_qtype,
Expand Down
19 changes: 0 additions & 19 deletions qlasskit/ast2ast/__init__.py

This file was deleted.

43 changes: 0 additions & 43 deletions qlasskit/ast2ast/ast2ast.py

This file was deleted.

Loading
Loading