Linked Questions

2 votes
0 answers
74 views

From QUBO problem to quantum circuit [duplicate]

Can you describe how to convert some QUBO problem $$f(x_1, ..., x_n) = \sum\limits_{1 \le i < j \le n} \alpha_{i,j} \, x_i \, x_j$$ into its equivalent quantum circuits? Is it preferrable to start ...
incud's user avatar
  • 701
17 votes
2 answers
9k views

Can arbitrary matrices be decomposed using the Pauli basis? [duplicate]

Is it possible to decompose a hermitian and unitrary matrix $A$ into the sum of the Pauli matrix Kronecker products? For example, I have a matrix 16x16 and want it to be decomposed into something ...
C-Roux's user avatar
  • 888
7 votes
3 answers
2k views

Quantum circuit to implement matrix exponential

I want to build a circuit which will implement $e^{iAt}$, where $ A= \begin{pmatrix} 1.5 & 0.5\\ 0.5 & 1.5\\ \end{pmatrix} $ and $t= \pi/2 $. We see that $A$ can be written as, $A=1.5I+0.5X$. ...
Omkar 's user avatar
  • 331
4 votes
2 answers
2k views

How can I convert exponentials of pauli matrices to circuits of this form in Qiskit?

For example the following circuit is for $e^{-i(Z\otimes Z\otimes Z)\Delta t} $ I know this can even be done without the ancilla qubit, having the CNOTs control the last qubit and applying an RZ on ...
shashvat's user avatar
  • 805
5 votes
1 answer
2k views

How can I simulate Hamiltonians composed of Pauli matrices?

Suppose I want to perform the time-evolution simulation on the following Hamiltonians: $$ H_{1} = X_1+ Y_2 + Z_1\otimes Z_2 \\ H_{2} = X_1\otimes Y_2 + Z_1\otimes Z_2 $$ Where $X,Y,Z$ are Pauli ...
ZR-'s user avatar
  • 2,388
5 votes
2 answers
498 views

Representation of rotation operators $e^{-i\theta(I-Z_1\otimes Z_2 \otimes Z_3)}$ about arbitrary axis for $3$ qubits

I was wondering in how to interpret and represent the operator $e^{-i\theta(I-Z_1\otimes Z_2 \otimes Z_3)}$ for a 3 qubit system in a circuit using qiskit. I was thinking I could just perform an ...
César Leonardo Clemente López's user avatar
3 votes
2 answers
2k views

How to perform a time evolution of a quantum state with Qiskit Aqua?

How can we perform a time evolution of a quantum state for a given Hamiltonian with qiskit Aqua operator flow? I'm interested in it due to its higher efficiency.
Bidon's user avatar
  • 818
6 votes
1 answer
1k views

How to decompose a multi-target controlled gate?

I'm trying to replicate with qiskit the results of this paper in which basically they implement a quantum version of the Principal Component Analysis applying Quantum Phase Estimation algorithm in ...
miki scande's user avatar
3 votes
1 answer
540 views

Question Regarding Simulating Hamiltonian With Quantum Circuit

There have been a few other questions about this section of Nielsen and Chuang, but when working through the output of the circuit, there are some inconsistencies that are probably due to some mistep/...
Rehaan Ahmad's user avatar
5 votes
1 answer
402 views

Simulating $e^{iX_1\otimes X_2t}$

I'm trying to figure out the quantum circuit to simulate the time-evolution of a 2-qubit Hamiltonian $e^{iX_1\otimes X_2t}$, where $X$ is a Pauli gate. From this answer, the quantum circuit performs $...
IGY's user avatar
  • 361
2 votes
2 answers
492 views

Problem with commutation of $e^{-iH_1t}$ and $e^{-iH_2t}$, where $H_1$ commutes with $H_2$

I'm given with a Hamiltonian, $H=H_1+H_2$, where $H_1=\sigma_x\otimes\sigma_z$ and $H_2=\sigma_y\otimes\sigma_y$, and want to built a circuit which will implement $e^{-iHt},t=\pi/6$. We see that as $\...
Omkar 's user avatar
  • 331
3 votes
1 answer
813 views

Simulating the Ising-like model as a quantum circuit

We are interested in simulating the 1d Ising model Hamiltonian using a Quantum Circuit (QC). A similar question was posted before with no answers. Here we will assume, for simplicity, 3 lattice sites ...
Marion's user avatar
  • 625
4 votes
1 answer
441 views

Is the cost Hamiltonian unitary in QAOA?

I am trying to implement QAOA and there are things I don't understand at all. The expansion of $H$ into Pauli $Z$ operators can be obtained from the canonical expansion of the cost-function $C$ by ...
Himera Ephemera's user avatar
4 votes
1 answer
366 views

Simulate Hamiltonians with Pauli operations (controlled time evolution)

I had a question last week regarding the simulation of Hamiltonians composed of the sum of Pauli products: How can I simulate Hamiltonians composed of Pauli matrices? I'm having a follow-up question: ...
ZR-'s user avatar
  • 2,388
2 votes
1 answer
243 views

Showing that $e^{i \sigma_z \otimes \sigma_z t} = \text{CNOT}(I \otimes e^{i \sigma_zt})\text{CNOT}$

While working on circuit construction for Hamiltonian simulation using this answer as reference, I'm unable to see how the following equation is true: $$ e^{i \sigma_z \otimes \sigma_z t} = \text{CNOT}...
epelaez's user avatar
  • 2,875

15 30 50 per page