Skip to main content

Questions tagged [quantum-algorithms]

For questions about quantum algorithms, that is, sequences of quantum gates, operations, and measurements, whose purpose which achieve some goal. Standard examples are Shor's and Grover's algorithms.

Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

I'm working on building an AI platform to streamline/automate the workflow for quantum developers. I was curious to learn from those who are actively involved in the field (building circuits, writing ...
Neha Chandran's user avatar
0 votes
1 answer
52 views

Implement the Quantum Phase Estimation (QPE) algorithm using the unitary operator S and the eigenstate ∣1⟩ as the target qubit. Use 3 counting qubits and 1 target qubit. Assumptions / notation: Assume ...
Anitya Gupta's user avatar
0 votes
0 answers
49 views

Currently writing a QASM parser and wondering if this is the proper way to parse a program using a DAG (Deutsch's from QASMBench in this example). The output from Deutsch's would be: ...
Abe Brege's user avatar
2 votes
1 answer
233 views

I’ve recently written a short note proving a structural property of Shor’s factoring algorithm, and I’d like feedback from those more experienced in quantum algorithms. Key result: If a base a is ...
Muhammad Saad Bhatti's user avatar
0 votes
1 answer
83 views

I'd like to implement $e^{-iat}$ as part of an algorithm for hamiltonian simulation. This makes the operation: $$ |a\rangle|0\rangle \rightarrow |a\rangle e^{-iat}|0\rangle $$ According to Nathan ...
Lucas Amaral Dos Santos Barros's user avatar
1 vote
3 answers
146 views

I have a block-encoded matrix $A$ (for example, a diagonal matrix) encoded in a unitary $U_A$. I would like to apply a Chebyshev polynomial to the singular values of $A$ using Quantum Singular Value ...
user82261's user avatar
  • 315
2 votes
2 answers
125 views

This question is similar to Hamming Weight algorithm , but the solutions to that question do not suffice to implement what i am looking for. Does anybody know the best bound for a quantum circuit / ...
Ramezzez's user avatar
  • 366
5 votes
1 answer
660 views

In what follows, I am mostly interested in exact arbitrary-precision arithmetic. Quantum arithmetic is an active research topic. Of course any classical algorithm for arithmetic can be expressed as a ...
delete000's user avatar
  • 233
0 votes
1 answer
106 views

I want to perform constant-quantum modular addition: $|x\rangle \mapsto |x + K \bmod R \rangle$ where the input $x$ can be greater than $R$. E.g. For $K=1, R=10$ the input $|11 \rangle$ should map to $...
V. Patel's user avatar
  • 643
0 votes
1 answer
132 views

I'm trying to find whether there are any eigenvalue of an arbitrary matrix that is (close to) zero without measurement using quantum phase estimation (QPE). I am experimenting with the code below. I'm ...
Jag's user avatar
  • 143
0 votes
0 answers
61 views

I have a list of strategies each with a corresponding score, I want my oracle to apply the phase shift on the strategy with the largest score value. Without knowing the values beforehand how would I ...
James Garcia's user avatar
1 vote
2 answers
99 views

It seems that when decoding 3D graph, pymatching only gives the overall decoding edges and only takes spacelike-weights in 2D graph which means the weights are the same in each round. So I'd like to ...
lyt's user avatar
  • 21
1 vote
0 answers
76 views

Just a simple curiosity, can we find a quantum algorithm that can give us all the subgroups of a finite group?
Kartikeya Sain's user avatar
1 vote
1 answer
118 views

I try to understand the first pages of Gilyen et al, 2018 article introducing the Quantum Singular Value Transformation. Here is a snapshot of the paragraph I have difficulties with : This paragraph ...
deb2014's user avatar
  • 537
3 votes
1 answer
187 views

Using the following circuit, I’m trying to do phase kickback to qubit 3, $q_3$, to change its state to $|1\rangle$ when the phase of $|q_2,q_1,q_0\rangle=|111\rangle$ is negative and $|q_3\rangle=|0\...
Jag's user avatar
  • 143
1 vote
1 answer
82 views

Following little-endian format, I have the following state, which is part of a larger superposition of 6 qubits: $$ \alpha|0\rangle_{swap\_ancilla}|010010\rangle + \beta|0\rangle_{swap\_ancilla}|...
Jag's user avatar
  • 143
0 votes
0 answers
49 views

I'm currently learning about observable learning in quantum machine learning. I understand that the goal is often to predict the expectation value of a given observable (like a Pauli operator or a ...
Iqra Bashir's user avatar
0 votes
1 answer
163 views

I was recently going over the first proof in Gilyen et alia."Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics" https://arxiv.org/abs/...
Eddie's user avatar
  • 82
2 votes
3 answers
285 views

I just want to know how we can build a unitary (using arbitrary 1 or 2-local universal quantum gates) that implements the operator: $- \mathbb{I}$. So $\sum_x \alpha_x |x\rangle \mapsto \sum_x -\...
kingoyster's user avatar
1 vote
0 answers
93 views

How do I design a quantum circuit on $n$ qudits that implements a general unitary two-design either: exactly (presumably using Clifford group), or approximately 2-design I am looking for a structure ...
Arun's user avatar
  • 113
1 vote
1 answer
124 views

Consider a 50-qubit circuits with 10s of thousands of gates, and with cz gates between every couple of qubits, how would this monster of a circuit be simplified to run on a quantum device? Would we ...
yousef elbrolosy's user avatar
3 votes
0 answers
118 views

The answer to the following question https://math.stackexchange.com/questions/2856947/prove-lemma-order-of-x-mathrmmod-n-is-even-with-probability-1-2 shows that at least half of the elements in $\...
advocateofnone's user avatar
0 votes
1 answer
220 views

I have the following code which calculates and plots the ground state energy of a hydrogen molecule against the bond distance using Varitation Quantum Eigensolver (VQE) algorithm. ...
hbaromega's user avatar
  • 111
2 votes
2 answers
143 views

Has there been any research quantifying the runtime overhead incurred when implementing quantum error correction (QEC) compared to executing a quantum algorithm without QEC? For instance, With a ...
rexyquantum's user avatar
1 vote
2 answers
220 views

I am curious about quantum approaches to graph isomorphism and have encountered a recurring point: the necessity of cleaning up any garbage generated during state preparation. For example, take a look ...
tigerjack's user avatar
  • 588

1
2 3 4 5
27