Skip to content

added newReadMes file#1449

Merged
roie-d-classiq merged 15 commits intomainfrom
readme
Feb 24, 2026
Merged

added newReadMes file#1449
roie-d-classiq merged 15 commits intomainfrom
readme

Conversation

@roie-d-classiq
Copy link
Collaborator

@roie-d-classiq roie-d-classiq commented Jan 21, 2026

PR Description

Some notes

  • Please make sure that the notebook runs successfully with the latest Classiq version.

  • Please make sure that you placed the files in an appropriate folder

    • And that the file names are clear, descriptive, and match the notebook content.
      • Note that we require the file names of .ipynb and .qmod to be unique across this repository.
    • Plus, please make sure that all required files are included: .qmod, .synthesis_options.json, .metadata.json
    • And that images are embedded inside the notebook, not added as external files
  • If applicable, please include link to the paper on which the notebook is based, in the notebook itself.

  • Please use rebase on your branch (no merge commits)

  • Please link this PR to the relevant issue

  • Please make sure to run pre-commit when commiting changes

    • If you're using git in the terminal, make sure to install pre-commit via running pip install pre-commit followed by pre-commit install
    • Note that Classiq runs automatic code linting. Meaning that one of the tests verifies the output of pre-commit.
    • Also note that pre-commit may minorly alter some files. Make sure to git add the changes done by pre-commit

@@ -0,0 +1,26 @@
# Amplitude Amplification and Estimation

The directory contains algorithmic variations of the amplitude amplification and estimation algorithm.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The initial description focuses on amplitude amplification and not on estimation.
It is true that they are very related. I think it is OK to mention Grover in this paragraph, although I am not 100% sure if it can be connected to the QSVT and Oblivious usecases.

I suggest:

  • Mention Grover operator, but as a canonical building block in several methods.
  • Mention that all of these algorithms are typically quadratic in the number of queries.
  • Add a sentence about amplitude estimation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -0,0 +1,24 @@
# Foundational

Fundamental quantum algorithms, providing the foundations for future advancements
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the amplitude estimation and amplification you started with: "This directory contains..."
I would be consistent with the style.
I prefer this one (in Foundational), but feel free to choose whatever you like.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

$f(x) = (a\cdot x) \mod 2$, where $x$ is also a bit string and $\cdot$ denotes the bitwise multiplication.
This problem constitutes a specific case of the general hidden-shift problem.
- **Deutsch Jozsa** - Widely regarded as the first quantum algorithm, it demonstrates an exponential advantage in query
complexity over classical approaches. Given oracle access to a Boolean function promised to be either
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

classical deterministic

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

- **Deutsch Jozsa** - Widely regarded as the first quantum algorithm, it demonstrates an exponential advantage in query
complexity over classical approaches. Given oracle access to a Boolean function promised to be either
constant or balanced, the algorithm deterministically identifies which case holds using a single query to
the function. We define a general quantum algorithm that accepts a quantum predicate as an input parameter
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sentences that follows "We define..." are related to the implementation. Such description does not appear in other examples, so I suggest to remove it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

classical communication to transfer ("teleport") an arbitrary qubit state from one place to another.
- **Simon** - Given an oracle binary function, satisfying $f(x)=f(y)$ if and only if $y=x\oplus s$ for some secret key $s$, the
algorithm recovers $s$. It does so using a number of oracle queries linear in the input size, yielding an exponential
improvement in query complexity compared to the best classical approaches. After defining the quantum and classical parts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here the last sentence.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

- **Hamiltonian simulation guide** - Provides an introduction and overview to standard Hamiltonian simulation methods.
The methods are described and implemented utilizing Classiq's built-in functions. First, the product formula
based methods, Suzuki-Trotter decomposition and qDrift are introduced and implemented. Following,
more advanced block-encoding, as qubitization and quantum singular value decomposition, are presented.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this notebook that block-encoding-based methods are just mentioned (not implemented). I think the word "presented" might be misleading. You can omit the sentence.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I contemplated on that as well, fixed it.

- **Hidden shift problem** - Implementation of an algorithm to find the hidden-shift for the family of Boolean bent functions, which
are characterized by high non-linearity and a perfectly flat Fourier transform. Given access to queries of a functions $f$,
the algorithm finds the shift, a boolean string, which satisfies $f(x) = f(x \oplus s)$. The quantum algorithm provides
an exponential separation in query complexity relative to any (even the best) classical algorithm.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not understand the "(even the best")

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modified it to (including the optimal)

@@ -0,0 +1,26 @@
# QML
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good.

@@ -0,0 +1,18 @@
# Quantum Differential Equation Solvers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good.

@@ -0,0 +1,26 @@
# Quantum Linear Solvers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great.

@@ -0,0 +1,17 @@
# Quantum Phase Estimation (QPE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good.

@@ -0,0 +1,21 @@
# Quantum State Preparation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great.

@@ -0,0 +1,7 @@
# Quantum Walks/Glued trees

- **Quantum Walks** Demonstrates the encoding of a quantum random walk. The example includes a one-to-one
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not have a quantum walk in this directory (we have it in the tutorials directory).
Currently, this directory has only the glued trees example, which is related to continuous quantum walk.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleted this, we can add a readme file when the folder includes more examples

belonging to a finite field $\mathbb{F}$, and an optimization function, $f(x)$, depending on $B$ and an input vector $x\in \mathbb{F}^n$,
the algorithm produces optimal input, maximizing $f$. Shown to give a quantum advantage in Optimal Polynomial Intersection problem.
In the present notebook, a simplified version of the problem called max-XORSAT, is utilized to demonstrate the key algorithmic steps.
- **Grover** - A canonical quantum algorithms, providing the solution of an unstructured search problem.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A canonical quantum algorithm (remove the s).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@roie-d-classiq roie-d-classiq merged commit 2faea81 into main Feb 24, 2026
6 checks passed
@roie-d-classiq roie-d-classiq deleted the readme branch February 24, 2026 07:46
@github-actions
Copy link

🎊 Incredible, @roie-d-classiq! You've merged your 18th PR! 🎯🎊

Your ongoing commitment to classiq-library is truly remarkable. You're a driving force in our community! 🚀
Your contributions are helping to shape the future of quantum computing! What exciting features or improvements do you envision next? 🔮

We are grateful for your dedication! 💫

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants