From be79626c73d314645db162992aa4e0d5e3cb7424 Mon Sep 17 00:00:00 2001 From: Dror Segman Date: Tue, 31 Dec 2024 18:37:37 +0200 Subject: [PATCH] replace QMOD with Qmod in all .ipynb files --- .../qmc_user_defined/qmc_user_defined.ipynb | 8 ++++---- community/QClass_2024/Assignments/HW1_QClass2024.ipynb | 4 ++-- .../Sessions/week1_QClass_workshop_with_sol.ipynb | 4 ++-- .../QClass_2024/Submissions/HW4/HW_4_Bill_Wisotsky.ipynb | 2 +- .../rainbow_options_bruteforce_method.ipynb | 2 +- .../classiq_101/phase_kickback/phase_kickback.ipynb | 2 +- .../classiq_101/whats_classiq/whats_classiq.ipynb | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/algorithms/amplitude_estimation/qmc_user_defined/qmc_user_defined.ipynb b/algorithms/amplitude_estimation/qmc_user_defined/qmc_user_defined.ipynb index f54391b9e..bb89cc28d 100644 --- a/algorithms/amplitude_estimation/qmc_user_defined/qmc_user_defined.ipynb +++ b/algorithms/amplitude_estimation/qmc_user_defined/qmc_user_defined.ipynb @@ -69,11 +69,11 @@ "\n", "### Quantum Functions\n", "\n", - "The following example will demonstrate how to define QMOD functions by writing a Python function decorated with the `@qfunc` decorator.\n", + "The following example will demonstrate how to define Qmod functions by writing a Python function decorated with the `@qfunc` decorator.\n", "The typical workflow for defining a quantum function:\n", - "1. Specifying the function signature: The `@qfunc` decorator relies on Python's type-hint mechanism to extract the signature of the QMOD function from the argument list of the Python function.\n", - "2. Specifying the function body: A function decorated with `@qfunc` is executed by the Python interpreter to construct the body of the QMOD function. Inside it, you can do one of the following:\n", - " - Call other `@qfuncs` to insert the corresponding quantum function calls into the body of the resulting QMOD function\n", + "1. Specifying the function signature: The `@qfunc` decorator relies on Python's type-hint mechanism to extract the signature of the Qmod function from the argument list of the Python function.\n", + "2. Specifying the function body: A function decorated with `@qfunc` is executed by the Python interpreter to construct the body of the Qmod function. Inside it, you can do one of the following:\n", + " - Call other `@qfuncs` to insert the corresponding quantum function calls into the body of the resulting Qmod function\n", " - Introduce local quantum variables, by instantiating a quantum type\n", " - Use arithmetic and in-place assignment operators to insert special quantum statements into the function\n", " " diff --git a/community/QClass_2024/Assignments/HW1_QClass2024.ipynb b/community/QClass_2024/Assignments/HW1_QClass2024.ipynb index 611bd3766..2dcdf9cad 100644 --- a/community/QClass_2024/Assignments/HW1_QClass2024.ipynb +++ b/community/QClass_2024/Assignments/HW1_QClass2024.ipynb @@ -334,11 +334,11 @@ "metadata": {}, "source": [ "### Exercise 5b - Control (\"Quantum If\")\n", - "The `control` operator is the conditional application of some operation, with the condition being that all control qubits are in the state |1>. This notion is generalized in QMOD to other control states, where the condition is specified as a comparison between a quantum numeric variable and a numeric value, similar to a classical `if` statement. Quantum numeric variables are declared with class `QNum`.\n", + "The `control` operator is the conditional application of some operation, with the condition being that all control qubits are in the state |1>. This notion is generalized in Qmod to other control states, where the condition is specified as a comparison between a quantum numeric variable and a numeric value, similar to a classical `if` statement. Quantum numeric variables are declared with class `QNum`.\n", "\n", "See also [Numeric types](https://docs.classiq.io/latest/qmod-reference/language-reference/quantum-types/).\n", "\n", - "In QMOD this generalization is available as a native statement - control.\n", + "In Qmod this generalization is available as a native statement - control.\n", "\n", "See also [control](https://docs.classiq.io/latest/qmod-reference/language-reference/operators/).\n", "\n", diff --git a/community/QClass_2024/Sessions/week1_QClass_workshop_with_sol.ipynb b/community/QClass_2024/Sessions/week1_QClass_workshop_with_sol.ipynb index dfb076f4b..20d75a90b 100644 --- a/community/QClass_2024/Sessions/week1_QClass_workshop_with_sol.ipynb +++ b/community/QClass_2024/Sessions/week1_QClass_workshop_with_sol.ipynb @@ -336,11 +336,11 @@ "metadata": {}, "source": [ "### Exercise 5b - Control (\"Quantum If\")\n", - "The `control` operator is the conditional application of some operation, with the condition being that all control qubits are in the state |1>. This notion is generalized in QMOD to other control states, where the condition is specified as a comparison between a quantum numeric variable and a numeric value, similar to a classical `if` statement. Quantum numeric variables are declared with class `QNum`.\n", + "The `control` operator is the conditional application of some operation, with the condition being that all control qubits are in the state |1>. This notion is generalized in Qmod to other control states, where the condition is specified as a comparison between a quantum numeric variable and a numeric value, similar to a classical `if` statement. Quantum numeric variables are declared with class `QNum`.\n", "\n", "See also [Numeric types](https://docs.classiq.io/latest/qmod-reference/language-reference/quantum-types/).\n", "\n", - "In QMOD this generalization is available as a native statement - control.\n", + "In Qmod this generalization is available as a native statement - control.\n", "\n", "See also [control](https://docs.classiq.io/latest/qmod-reference/language-reference/operators/).\n", "\n", diff --git a/community/QClass_2024/Submissions/HW4/HW_4_Bill_Wisotsky.ipynb b/community/QClass_2024/Submissions/HW4/HW_4_Bill_Wisotsky.ipynb index a8bd7ad8a..37e3aa42e 100644 --- a/community/QClass_2024/Submissions/HW4/HW_4_Bill_Wisotsky.ipynb +++ b/community/QClass_2024/Submissions/HW4/HW_4_Bill_Wisotsky.ipynb @@ -267,7 +267,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "1. Wite out the QMOD and preferences to a JSON file \n", + "1. Wite out the Qmod and preferences to a JSON file \n", "2. Synthesize the model in Classiq interface \n", " " ] diff --git a/research/rainbow_options/rainbow_options_bruteforce_method.ipynb b/research/rainbow_options/rainbow_options_bruteforce_method.ipynb index f197152ba..9fae1a408 100644 --- a/research/rainbow_options/rainbow_options_bruteforce_method.ipynb +++ b/research/rainbow_options/rainbow_options_bruteforce_method.ipynb @@ -7,7 +7,7 @@ "source": [ "# Rainbow options with bruteforce methodology\n", "\n", - "In this Notebook we will go through the implementation using QMOD for the rainbow option.\n", + "In this Notebook we will go through the implementation using Qmod for the rainbow option.\n", "This Notebook role is to verify result of different metodology on a smal scale problem, as it grows exponentially in the gate count." ] }, diff --git a/tutorials/documentation_materials/classiq_101/phase_kickback/phase_kickback.ipynb b/tutorials/documentation_materials/classiq_101/phase_kickback/phase_kickback.ipynb index 39c031944..9283657f5 100644 --- a/tutorials/documentation_materials/classiq_101/phase_kickback/phase_kickback.ipynb +++ b/tutorials/documentation_materials/classiq_101/phase_kickback/phase_kickback.ipynb @@ -479,7 +479,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Native QMOD version:" + "Native Qmod version:" ] }, { diff --git a/tutorials/documentation_materials/classiq_101/whats_classiq/whats_classiq.ipynb b/tutorials/documentation_materials/classiq_101/whats_classiq/whats_classiq.ipynb index 6336266ff..837af26f0 100644 --- a/tutorials/documentation_materials/classiq_101/whats_classiq/whats_classiq.ipynb +++ b/tutorials/documentation_materials/classiq_101/whats_classiq/whats_classiq.ipynb @@ -55,7 +55,7 @@ "\n", "Here is a high-level breakdown of the steps:\n", "\n", - "1. [**Design**](#design) - write your quantum algorithm using Classiq's QMOD language. Qmod is built for describing quantum programs without pre determining the implementation details. It is intuitive and powerful.\n", + "1. [**Design**](#design) - write your quantum algorithm using Classiq's Qmod language. Qmod is built for describing quantum programs without pre determining the implementation details. It is intuitive and powerful.\n", "2. [**Optimize**](#optimization) - Send your algorithm to Classiq's synthesis engine (compiler) that comes up with the optimal quantum program for your algorithm, according to the constraints and preferences you apply.\n", "3. [**Analyze**](#analysis) the quantum program with the Classiq's visualizer tool in order to view the circuit level implementation of your algorithm.\n", "4. [**Execute**](#execution) it on Classiq's simulators or on any quantum computer and simulators available via the cloud.\n",