Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [superposition]

for questions regarding the superposition of qubits and how superposition is relevant for quantum computers

0
votes
2answers
85 views

How to prepare a superposed states of odd integers from $1$ to $\sqrt{N}$?

$\newcommand{\q}[2]{\langle #1 | #2 \rangle} \newcommand{\qr}[1]{|#1\rangle} \newcommand{\ql}[1]{\langle #1|} \newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor} \newcommand{\round}[1]{\left\lfloor #...
1
vote
2answers
63 views

How to properly write the action of a quantum gate implementing an operator $U$ on the superposition of its eigenvectors?

Let's say, that we are in the possession of a quantum gate, that is implementing the action of such an operator $$ \hat{U}|u \rangle = e^{2 \pi i \phi}|u\rangle $$ Moreover, let's say, that this ...
2
votes
1answer
37 views

What's the meaning of applying $U_{\text{div}}$ to a register in superposition?

$\newcommand{\qr}[1]{|#1\rangle}$Say I begin with $10$ q-bits $\qr{+}\qr{+}\qr{+}\qr{+}\qr{+}\qr{+}\qr{+}\qr{+}\qr{+}\qr{+}$ forming a register $B$. Name these q-bits as $b_9, ..., b_2, b_1, b_0$. ...
4
votes
0answers
56 views

Is there a relation between the factorisation of the joint conditional probability distribution and Bell inequality?

[I'm sorry, I've already posted the same question in the physics community, but I haven't received an answer yet.] I'm approaching the study of Bell's inequalities and I understood the reasoning ...
5
votes
3answers
444 views

Advantange of Hadamard gate over rotation about the X axis for creating superpositions

When I look at most circuits (admittedly small sample as I'm a beginner), the Hadamard gate is used a lot to prepare a superposition from say the $\mid0\rangle$ state. But upon a little reflection, we ...
8
votes
3answers
194 views

Does conditional gate collapse controller's superposition?

I've created a simple circuit in Q-Kit to understand conditional gates and outputted states on each step: In the beginning there is clear 00 state, which is the input The first qubit is passed ...
5
votes
1answer
81 views

Compact encoding of Boolean formula as oracle

As in the title, I have a doubt regarding the implementation of a boolean formula used as an oracle for a quantum algorithm. The problem is that so far I could reproduce the formula as a quantum ...
11
votes
3answers
1k views

How can I build a circuit to generate an equal superposition of 3 outcomes for 2 qubits?

Given a $2$ qubit-system and thus $4$ possible measurements results in the basis $\{|00\rangle$, $|01\rangle$, $|10\rangle$, $|11\rangle\}$, how can I prepare the state, where: only $3$ of these $4$ ...
5
votes
1answer
55 views

How to obtain arbitrary distribution in quantum database

I was working on the Grover's algorithm and the most common example is for a unitary distribution in a quantum database, for example: $|\psi\rangle = \frac{1}{2}|00\rangle + \frac{1}{2}|01\rangle + \...
9
votes
2answers
290 views

Is qsphere an actual term representing 5 qubits?

I'm a total beginner, I've been brought here by the featured stackoverflow blog post so I started studying. Watching this youtube video (A Beginner’s Guide To Quantum Computing (3:58), I saw this ...
11
votes
2answers
333 views

What is the difference between superpositions and mixed states?

My understanding so far is: a pure state is a basic state of a system, and a mixed state represents uncertainty about the system, i.e. the system is in one of a set of states with some (classical) ...