Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a couple of links #794

Closed
wants to merge 2 commits into from
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"\n",
"The integration of quantum layers in classical neural networks may offer reduction in resources for a given functionality, as the network (or part of it) is expressed via the Hilbert space, providing different expressibility compared to classical networks.\n",
"\n",
"This notebook demonstrates QNN by treating a specific function—the subset majority—for which we construct, train, and verify a hybrid classical-quantum neural network. The notebook assumes familiarity with Classiq and NN with PyTorch. See the [QML guide with Classiq](https://github.com/Classiq/classiq-library/blob/main/tutorials/documentation_materials/user_guide/qml_with_classiq_guide/qml_with_classiq_guide.ipynb)."
"This notebook demonstrates QNN by treating a specific function—the subset majority—for which we construct, train, and verify a hybrid classical-quantum neural network. The notebook assumes familiarity with Classiq and NN with PyTorch. See the [QML guide with Classiq](https://github.com/Classiq/classiq-library/blob/main/tutorials/popular_usage_examples/qml_with_classiq_guide/qml_with_classiq_guide.ipynb)."
]
},
{
Expand Down
5 changes: 4 additions & 1 deletion tests/utils_for_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ def iterate_notebooks() -> list[str]:
if os.environ.get("SHOULD_TEST_ALL_FILES", "") == "true":
notebooks_to_test = _get_all_notebooks()
else:
notebooks_to_test = os.environ.get("LIST_OF_IPYNB_CHANGED", "").split()
notebooks_to_test = [
os.path.relpath(os.path.join(ROOT_DIRECTORY, path), os.getcwd())
for path in os.environ.get("LIST_OF_IPYNB_CHANGED", "").split()
]

return notebooks_to_test

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
"1. Make sure you define a `main` function that calls functions you create.\n",
"2. Use `create_model` by running `qmod = create_model(main)` to construct a representation of your model.\n",
"3. You can synthesize the model (using `qprog = synthesize(qmod)`) to obtain an implementation - a quantum program.\n",
"4. You can then visualize the quantum program (`show(qprog)`) or execute it using `execute(qprog)`. See: [Execution - Classiq](https://github.com/Classiq/classiq-library/blob/main/tutorials/documentation_materials/classiq_101/classiq_concepts/execute/execute.ipynb). You can also execute it with the IDE after visualizing the circuit."
"4. You can then visualize the quantum program (`show(qprog)`) or execute it using `execute(qprog)`. See: [Execution - Classiq](https://github.com/Classiq/classiq-library/blob/main/tutorials/classiq_101/classiq_concepts/execute/execute.ipynb). You can also execute it with the IDE after visualizing the circuit."
]
},
{
Expand Down Expand Up @@ -626,7 +626,7 @@
"The `repeat` operator invokes a statement block multiple times. The statement block is specified using a Python callable, typically a `lambda` expression. Inside the block, you can refer to variables declared in the outer function scope.\n",
"This concept is called `quantum variable capture`, equivalent to [capture](https://en.wikipedia.org/wiki/Closure_(computer_programming)) in classical languages.\n",
"\n",
"See also capturing context [variables](https://github.com/Classiq/classiq-library/blob/main/tutorials/documentation_materials/classiq_101/classiq_concepts/design/quantum_variables_and_functions/quantum_variables_and_functions.ipynb) and parameters and [operators](https://docs.classiq.io/latest/qmod-reference/language-reference/operators)."
"See also capturing context [variables](https://github.com/Classiq/classiq-library/blob/main/tutorials/classiq_101/classiq_concepts/design/quantum_variables_and_functions/quantum_variables_and_functions.ipynb) and parameters and [operators](https://docs.classiq.io/latest/qmod-reference/language-reference/operators)."
]
},
{
Expand Down
Loading