Questions tagged [quantum-gate]

For questions regarding usage, performance, implementation, application or theory related to quantum gates.

176 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
146 views

Sequential circuit using quantum gates

Without feedback/loop how can we build a sequential circuit? The basic feature of sequential circuit is that is depends not only on the current inputs but also on the previous inputs/outputs. I've ...
6 votes
0 answers
83 views

Postselection and hardness of estimating amplitudes

Let $A$ be a class of quantum circuits such that \begin{equation} \text{Post}A = \text{Post}BQP, \end{equation} where $\text{Post}$ indicates post-selection. Is only this amount of information ...
  • 1,023
6 votes
0 answers
100 views

Is the universality of a qubit based quantum computer different from the universality of a continuous-variable quantum computer?

I understand that a quantum computer is universal if it can compute anything that a quantum Turing machine can. Another way to think about universality is that any unitary transformation on, e.g., a ...
  • 1,865
6 votes
0 answers
159 views

How many qubits and how many gates, are required for finding the eigenvalues of a matrix?

Say I have an $N \times N$ matrix and I want to know the eigenvalues to a precision of $\pm \epsilon$. How many qubits and how many gates do I need?
6 votes
0 answers
140 views

How exactly is the stated composite state of the two registers being produced using the $R_{zz}$ controlled rotations?

This is a sequel to How are two different registers being used as "control"? I found the following quantum circuit given in Fig 5 (page 6) of the same paper i.e. Quantum Circuit Design for ...
5 votes
0 answers
54 views

Arbitrary rotations in the plane spanned by two known quantum states

Suppose I have two quantum states $|\psi_1\rangle,|\psi_2\rangle$ that I know how to prepare from some fixed initial state, say $|0\rangle^{\otimes N}$ on some $N$ qubits with known quantum circuits $...
5 votes
0 answers
90 views

Given a non-Clifford quantum circuit $U$, is it possible to construct a commuting Clifford circuit $C$?

Given a non-Clifford circuit $U$, say $U = \prod_{i=1}^k e^{i \theta_i P_i} $ for $P_i \in \{ I,X,Y,Z\}^{\otimes n} $ and $\theta_i \in \mathbb{R}$. Is it possible to construct a non-trivial Clifford ...
  • 13.1k
5 votes
1 answer
120 views

Is the Eastin-Knill Theorem incorrect?

I am reading through this paper (the Eastin-Knill Theorem) and there is a step in the proof of the main theorem that I do not understand. Let $Q$ be a composite quantum system supporting a quantum ...
  • 431
5 votes
0 answers
124 views

Solovay-Kitaev Balanced Group Commutators in SU(2) Implementation

I am currently looking into quantum compilation and came across Dawson and Nielsen's paper on the Solovay-Kitaev Algorithm, which seems like a good starting point as it is referenced in a many of the ...
  • 51
5 votes
0 answers
127 views

Good resources for seeing qubit control pulse shapes (Transmon qubits)

I'm looking for resources which can show the pulse shapes for various single-qubit and two-qubit gates. More specifically, is there any resource which can show me calibrated pulse shapes so that I can ...
5 votes
1 answer
482 views

Two qubit gate decomposition using Qiskit

I am writing some python code to be able to optimise the total error in two qubit gate decomposition. I am using the Qiskit module qiskit.quantum_info.synthesis.two_qubit_decompose My question relates ...
  • 131
5 votes
0 answers
97 views

How do we realise photonic gates?

I am interested in photonic computing, and I am curious how the gates work. I once saw a picture of a photonic CNOT gate that used just mirrors and polarizers. I have not been able to find any ...
  • 51
5 votes
1 answer
79 views

Equivalence checking of quantum circuits up to error

Suppose you are given two circuit descriptions $A$ and $B$ where by a circuit description I mean a sequence of gates (in the order they are applied) and the qubits they are applied on. (For the sake ...
  • 839
5 votes
0 answers
131 views

Exact functions of a single-iteration Grover Search Algorithm's operators

I'm doing a practice assignment where I'm asked to identify specific features of the Grover Search Algorithm's second operator (picture in post, further on "$Us$"), which mirrors the system relative ...
5 votes
0 answers
133 views

How can I express controlled unitary operation in QPE of this implementation of HHL?

I have found this implementation of HHL, and I don't understand why the controlled unitary operation is expressed in the form of $\exp(i t_0 A/2)$ and $\exp(i t_0 A/4)$. The rotation of $\pi$ and $\...
  • 133
4 votes
0 answers
43 views

Link between quantum computing and Lie theory?

I know only little thing about Lie theory but I would like to learn more about its link to quantum computing. Has someone got some references explaining it well ?
  • 166
4 votes
1 answer
153 views

Regarding the inductive proof that any Clifford gate can be made of Hadamard, phase and c-not

In Exercise 10.40 of Nielsen and Chunang's textbook, the reader is supposed to construct an inductive proof of Theorem 10.6 that any Clifford gate can be made of Hadamard, phase and c-not. There it is ...
4 votes
0 answers
107 views

Which codes have transversal $T$ gate?

A previous post transversal P (phase) gate shows that codes where all stabilizer elements have weights that are multiple of 4 will have a transversal $P$ gate. "Transversal" seems to have ...
  • 1,475
4 votes
0 answers
106 views

Universality for reversible classical computation

Is there any way to check whether a set of gates (for example, take the set comprising of the CNOT gate and the Hadamard gate) is universal for reversible classical computation? I can think of trial ...
  • 1,023
4 votes
0 answers
113 views

Extract the Crosstalk noise of a circuit in Qiskit

I'm new to Quantum Computing. How to extract the cross-talk noise of a quantum circuit using qiskit? Can someone provide an example code for this?
4 votes
0 answers
102 views

An algorithm to perform Gram-Schmidt orthogonalization of linearly independent state vectors

In the first paragraph of the 2nd section of this article, it is stated that given a set of linearly independent $n$-qubit state vectors, Alice can perform the Gram-Schmidt procedure to obtain ...
  • 371
4 votes
0 answers
247 views

Which codes can implement transversal non-Clifford gates

A paper Three-dimensional surface codes: Transversal gates and fault-tolerant architectures discusses 3D surface codes and shows that CZ and CCZ gates are transversal in [these] codes. They give a ...
  • 1,475
4 votes
0 answers
217 views

What is the thought process for circuit making after seeing input and output of a matrix?

Here is an exercise (4.27) from Nielsen and Chuang and I found the answer (given in the figure below) online without any explanation. The question was to construct a circuit by seeing a matrix (given ...
  • 401
4 votes
1 answer
218 views

Preparation of states that correspond to efficiently integrable probability distributions

I have been trying to implement methods from paper Creating superpositions that correspond to efficiently integrable probability distributions by Grover and Rudolph. It is stated that there exists an ...
3 votes
0 answers
94 views

What other discrete non-trivial non-Clifford groups of gates are there?

I do not know many groups (as in group theory) of quantum gates. Aside from trivial ones, I know there is Pauli group and the Clifford group. Recently I discovered another interesting group generated ...
  • 1,973
3 votes
0 answers
84 views

What is the correct name of this quantum gate? Possibly state control gate

Let $\vec v \in \mathbb{C}^2 $ be the following quantum state: $$ \vec v = \frac{1}{\sqrt{2}}\begin{bmatrix} v_{1} \\ v_{2} \\ \end{bmatrix},\space \lvert v_1 \rvert = 1,...
3 votes
1 answer
84 views

Can the ancilla for Qiskit's mcx with mode="recursion" be dirty?

I think their implementation is close to the one from here which does use a dirty ancilla, but I just want to make sure
  • 500
3 votes
0 answers
79 views

Writing circuits in Qiskit using only Clifford and T gates

Is there a way in Qiskit to write my circuit using only Clifford and T gates (CX, S, H, T and I think also $S^\dagger$ and $T^\dagger$)? With the function compile (with aer simulator) it gives me some ...
  • 385
3 votes
0 answers
52 views

Is there a way to directly construct controlled gates in continuous variable (CV) quantum computation?

We know that a universal gate set for CV quantum computation is that of squeezing, beam splitters, and some nonlinear gate (e.g. this answer). We also know from Knill, Laflamme, and Milburn that ...
3 votes
0 answers
88 views

Reducing an ansatz to a shallower circuit

Given a very general hardware efficient ansatz as in Figure: and say that you already know all the rotation parameter for the gates in the red box, is there any way to build a gate sequence that ...
  • 443
3 votes
0 answers
79 views

How does Spin Measurement correspond to quantum NOT gate?

Newbie in quantum computing (and stack overflow) here. I am confused regarding the relation between spin measurement in quantum mechanics and the quantum NOT gate. I have a Bloch sphere picture of a ...
  • 31
3 votes
0 answers
72 views

Calculating length of code words in quantum information(compression)

I was studying this article by Boestrom and Felbinger. We define the significant length of the codewords in the preparation of the communication protocol : $$L_c(w_i) = \lceil log_k(i) \rceil$$ We ...
3 votes
0 answers
98 views

When writing data into qRAM, can I do it in a superposition state?

In general, quantum algorithms are said to be hybrid algorithms. Especially when storing data in qRAM, it seems to be done through classical calculations. Is it possible to write this part directly to ...
  • 59
3 votes
1 answer
271 views

How fast is qiskit to_gate() method, which is used to convert circuit to gate?

I have prepared a quantum circuit, which is using 13 qubits. Now, I am converting this circuit to gate but it is taking around avg. 35s for conversion. It would have have been fine, if I require only ...
3 votes
0 answers
93 views

Implementing controlled $U_3$ gate from $R_{\hat{n}}$ with given parameters

This is a follow-up question to solve for parameters of a controlled $U_3$ gate. Suppose I have the unit vector $\hat{n} = (n_x,n_y,n_z)$ and an angle $\xi$ (assume we know both of them). Then, we ...
  • 2,348
3 votes
0 answers
64 views

Fowler Distance in Solovay-Kitaev Algorithm

I have been using this code to implement the Solovay-Kitaev algorithm for approximating arbitrary single qubit gates. One measure of success it gives is the 'Fowler distance'. I cant find a definition ...
  • 131
3 votes
0 answers
68 views

IBM QE - Parameters that differentiate the various backends

I'm doing a university thesis using IBM's quantum backends. In my analysis I am making some considerations on what differentiates one backend from another other than the number of qubits and quantum ...
3 votes
1 answer
171 views

What are the possible gates that I can use to vary input states before CNOT?

We know that the noise of the $\text{CNOT}$ gate varies depending on the input state before it. What are the gates that I can put in the place of the 4 identity gates above to change the input state ...
  • 79
3 votes
0 answers
65 views

A quantum operation to form the complement of an "elementary" entanglement of N qbits?

I have asked two similar questions 1, 2 but have not received a definite answer, so here I have narrowed the issue down to one hopefully more easily addressed aspect of the big question. ...
  • 235
3 votes
0 answers
244 views

What is known about the quantum version of Schoening's algorithm for 3SAT?

Schoening's algorithm for 3SAT can be converted to a quantum algorithm.  The classical circuit representing a 3SAT expression in CNF form can be converted to a quantum version involving reversible ...
3 votes
0 answers
23 views

Are there already hypothetical durations of how long a continuous-variable gate would take on a continuous-variable quantum computer?

I've heard that you run up against the very large constant factors when comparing run times of quantum and classical computers -- things simply take much longer in a carefully controlled quantum setup ...
  • 267
3 votes
0 answers
58 views

What is the explicit action of the non-linear gate in CV quantum computing on the quadratures?

In this excellently answered question 'How are gates implemented in a continuous-variable quantum computer?' the typical gates for CV quantum computing were listed and described. In particular for ...
  • 131
3 votes
0 answers
91 views

Why are two qubits gates more noisy?

I would like to understand why two qubit gates are generally more noisy. If I am interested in single qubit gates, I can have an effective modelling as a master equation: $$\dot{\rho}=\frac{1}{i \...
3 votes
0 answers
51 views

Gate times for different qubit technologies

Different qubit technologies exist and for each, operations are implemented differently. My question is what the typical times are for the standard gates (single qubit rotations, Hadamard, CNOT, T, ...
  • 1,432
3 votes
0 answers
79 views

Understanding shared Bell states from quantum entanglement

I'm trying to understand an entanglement swapping derivation provided in this PDF (pages 2 - 3) I have several things about this process that I don't understand, and I was hoping someone could ...
  • 289
3 votes
0 answers
47 views

Identity Gate Timing Discrepancy

I have been examining problems where gate timing is important. When implementing an identity gate, the issue of timing has resulted in a few verification experiments to compare the gate time to that ...
  • 31
3 votes
0 answers
53 views

How to derive a circuit from given equations?

I was reading a paper on Quantum Neural Networks where the authors discussed a new back propagation algorithm. They shared a schematic of the circuit. However, I am unable to understand how the ...
3 votes
0 answers
112 views

There seems to be a problem with the implementation of identity gates on Qiskit as compared to the circuit composer

I have been experimenting with slowing down the decay of qubits, and as a control, I implemented a circuit with just identity gates for comparison. However, when I implement such circuits in Qiskit, ...
  • 31
3 votes
0 answers
41 views

How to perform quantum logic gates on plasmons?

In the link provided researches utilize strong two-plasmon absorption in graphene nanoribbons to create a “square-root-of-swap”, could such a device be utilized to perform other quantum logic gates? ...
3 votes
0 answers
57 views

Understanding CNOT gate for indirect measurement

I am trying to write a simple circuit to understand the process of finding the set of parameters such that the cost function of that circuit in question is minimized. For that I understand one has to ...