Most Popular

1500 questions
7
votes
1 answer

More efficient implementation of $4$-qubit gate

While working on an error detection algorithm, I stumbled upon the problem of simplifying the following implementation Here, the $S$ gate is defined by $$S=\left( \begin{array}{cc} \frac{\sqrt{3}}{2} & -\frac{1}{2} e^{\frac{i \pi }{3}} \\ …
QC_QAOA
  • 135
  • 7
7
votes
1 answer

What matrix operations have better known time complexity on a quantum computer?

I'm exploring quantum computers for a semester project. I'm mainly interested in making faster matrix calculations than a regular computer. I was wondering what arithmetic operations (irrespective of how simple or complex they are) are faster on a…
adiboi
  • 71
  • 3
7
votes
1 answer

Does the no-hiding theorem suggest that quantum information is never destroyed?

According to Wikipedia: The no-hiding theorem proves that if information is lost from a system via decoherence, then it moves to the subspace of the environment and it cannot remain in the correlation between the system and the environment. This is…
Nick ODell
  • 173
  • 6
7
votes
1 answer

Q# Simulation Behavior

I am attempting to run a series of tests on a Q# program I'm running on the local simulator, but I'm not seeing any way to use >1 shot and collect the results of those shots at once, as in essentially every other quantum language/system I've seen.…
7
votes
3 answers

Why can I not apply a control gate/function to a gate like T, S, S dagger, ... (using IBM Quantum Experience)? Is there another option?

I am trying to use the circuit composer of the IBM QE. I am doing the inverse QFT on 3 qubits and therefore need a control on T and S dagger gates, but it won't let me. Does anyone know why or know a way around it? I've been stuck on this for a…
7
votes
2 answers

Topology graphs of IBM's quantum computers

What is the meaning of the topology graphs of IBM's quantum computers? How should it be interpreted? For example, how should I understand the following graph?
AL_P
  • 141
  • 6
7
votes
3 answers

Do there exist problems known to be computationally intractable for quantum computer, but tractable for classical computer?

Or alternatively phrased, is it believed that the complexity class P is a complete subset of BQP? Consider the following diagram à la MIT OpenCourseWare, which seems to explicitly state as much.
Eoin Dowling
  • 213
  • 1
  • 4
7
votes
4 answers

What makes representing qubits in a 3D real vector space possible?

Qubits exist in a 2D complex vector space, but we can represent qubits on the Bloch sphere as a 3D real vector space. Mathematically, what makes this possible – why don't we need 4 real dimensions?
Marc Bacvanski
  • 215
  • 1
  • 9
7
votes
0 answers

Run VQE for parametrized quantum circuit with ancilla qubits

Let's say we have the following circuit (picture and code shown below), and now the $q_0$ is an ancilla qubit. If the system of interest has only two qubits, Is there a way to use only $q_{1,2}$ as my ansatz and plug it into the built-in VQE in…
fagd
  • 975
  • 5
  • 12
7
votes
1 answer

Positive semidefinite relationship after partial trace

Let $\rho_{ABC}$ and $\sigma_{C}$ be arbitrary quantum states and $\lambda\in \mathbb{R}$ be minimal such that $$\rho_{ABC}\leq \lambda \rho_{AB}\otimes\sigma_C$$ We assume there are no issues with support in the above statement to avoid infinities.…
JRT
  • 616
  • 3
  • 7
7
votes
1 answer

Is Gaussian boson sampling (used for showing quantum advantage) a subcategory of the continuous variable approach?

I read about the photonic QC Jiŭzhāng that showed quantum advantage by Gaussian boson sampling. I read that boson sampling itself is a sub-universal technique of QC (where they use single-photon states as input states). In the paper, the scientists…
7
votes
1 answer

What is the matrix for a SWAP operation on two qubits?

Say we want to swap qubits $a$, $b$ in the same register, where $a,b \in \left \{ 0, 1,\cdots, n-1 \right \}$. What would be the corresponding matrix. For those interested, I'm curious about this matrix because I'm implementing the QFT, which by…
7
votes
2 answers

Get state vector of a single qubit in a circuit in Qiskit

I have two quantum circuits, and I would like to compare state vector of the first qubit and check if equals, what is the best way to do that in qiskit ? Let's say I have : psi = QuantumCircuit(5) psi.ry(np.pi/4.,0) psi.x(0) psi.x(1) psi2 =…
user12910
  • 471
  • 1
  • 4
  • 9
7
votes
3 answers

Qubit Connectivity of IBM Quantum Computer

When simulating a quantum circuit using the qiskit qasm_simulator, the qubits that you assign to the quantum circuit may be connected to all other qubits. In other words, if there are $n$ qubits in the quantum circuit, a single qubit can interact…
Yitian Wang
  • 1,008
  • 6
  • 16
7
votes
3 answers

Decomposing gates resembling exponentiated members of desired gateset

Suppose I have access to a pretty typical gate set, for example $\{\text{CNOT}, \text{SWAP}, \text{R}_{x}, \text{R}_{y}, \text{R}_{z}, \text{CR}_x, \text{CR}_y, \text{CR}_z\}$ where $\text{CR}$ is a controlled single-qubit rotation. I'm curious…