Linked Questions

4 votes
1 answer

Confusion with the number of CNOTs in a circuit

I am a bit puzzled on the following circuit. According to this Quantum Computing SE thread it holds that $$ e^{i(Z\otimes Z)t} = {\rm CNOT} (I\otimes e^{iZt}){\rm CNOT} \qquad (1) $$ As a result we ...
user39726's user avatar
2 votes
1 answer

The maximum depth possible on quantum computers

I hope you don't mind me having two questions. Firstly, I was running a Qiskit HHL simulation on a 12x12 matrix and a 12x1 vector, leading to a 16x16 matrix after expansion, and it resulted in a ...
Luca 's user avatar
  • 35
2 votes
1 answer

Decomposition of 2-qubit Hamiltonian into standard gate set for QAOA

I try to decompose ansatz into gate set in order to create a circuit in qiskit for QAOA algorithm. I don't understand how represent parametrized 2 qubit ansatz as circuit. $ H{_B} = \sum_{j=1}^{n} {\...
Masamune's user avatar
1 vote
1 answer

In the HHL alghoritm, how can I transform my hermitian matrix into a unitary operator?

I'm studying the HHL algorithm and I'm trying to do an his implementation but, there are some points that I don't understand how I can transform my hermitian Matrix into its unitary operator? In ...
Simona99's user avatar
  • 180
2 votes
1 answer

Is there a tool to get the quantum circuit corresponding to a sparse matrix?

If I know a sparse matrix, is there any tool that allows me to get the corresponding quantum circuit directly? If not what should I do? For example,I want to try hamilton simulation and I have the ...
Despriobaby's user avatar
1 vote
1 answer

Rotation of multi-body interaction in quantum circuit

In quantum circuit, how do you implement the rotation of multi-body interaction, such as $e^{-i\theta\sigma_z^1\sigma_z^2\sigma_z^3}$? I already know the case of less than two-body interaction, but I ...
sotowa's user avatar
  • 131
2 votes
1 answer

Good book/paper for finding an ansatz via Trotterization?

Is there a good book or paper where they describe how to get the ansatz and gates from a Hamiltonian?
Schrödinger314's user avatar
2 votes
1 answer

How do I find the matrix and circuit equivalent to this transformation?

First I would like to find the matrix corresponding to the transformation and then implement it with rotational gates. How can I do it?
Nobrega's user avatar
  • 33
1 vote
2 answers

In quantum adiabatic simulation, is the $s$ in $(1-\frac{s}{T})H_{in}+\frac{s}{T} H_{cl}$ related to the $t$ in $e^{-iHt}$?

I just want to do a whole adiabatic calculation on quantum circuit. To prepare two Hamiltonian of $H_{initial}$ and $H_{classical}$ and solve $H_{classical}$ using adiabatic calc like quantum ...
yumin's user avatar
  • 11
2 votes
0 answers

How to implement the Mixer of Quantum Alternating Operator Ansatz for Max-Independent-Set

I am trying to implement the Mixer of the Max-Independent Set from The Quantum Alternating Operator Ansatz. From this paper: in Chapter 4.2 page 15 to 17. For ...
Hannah's user avatar
  • 529

15 30 50 per page