Questions tagged [quantum-state]

Quantum systems can mathematically be described by their 'quantum state'. When the system is closed/isolated, the state is 'pure' and can be written as a sum (i.e. 'superposition') of basis vectors. When the system is a subsystem of an open system, the state is instead usually 'mixed' and cannot be written as a pure state, so has to be written as a density matrix. Consider using the density-matrix tag when relevant

Filter by
Sorted by
Tagged with
22
votes
2answers
8k views

What is the difference between a relative phase and a global phase? In particular, what is a phase?

I know that $re^{i\theta} = x + iy$ for any complex number $x + iy$ by Euler's formula. How do you calculate relative and global phase?
13
votes
4answers
2k views

General construction of $W_n$-state

Two of the most well known entangled states are the GHZ-state $|\psi\rangle = 1/\sqrt{2}\left( |0\rangle^{\otimes n} + |1\rangle^{\otimes n}\right)$ and the $W_n$-state, with $W_3 = 1/\sqrt{3}\left(|...
3
votes
3answers
495 views

Purity of mixed states as a function of radial distance from origin of Bloch ball

@AHusain mentions here that the purity of a qubit state can be expressed as a function of the radius from the center of a Bloch sphere. The state corresponding to the origin is maximally mixed whereas ...
2
votes
2answers
862 views

How can I find the $\theta$ and $\phi$ values of a qubit on the Bloch sphere?

If I have the following state: $$ \left| \varphi \right>=\frac{1}{\sqrt{2}}\left(\left(\frac{1+i}{\sqrt{2}} \right)\left| 0 \right> + \left| 1\right>\right) $$ How can I find the $\theta$ ...
21
votes
3answers
4k 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) ...
18
votes
2answers
11k views

Density matrices for pure states and mixed states

What is the motivation behind density matrices? And, what is the difference between the density matrices of pure states and density matrices of mixed states? This is a self-answered sequel to What&#...
7
votes
1answer
745 views

How to perform quantum state tomography on two qubits?

I would like to do a quantum tomography on two qubit states. Recently, I successfully did so for one qubit based on Nielsen-Chuang. They advise to use this formula for one qubit density operator ...
2
votes
2answers
352 views

What is the result of measuring $\sigma_x$ on the state $|01\rangle+|10\rangle$?

I confused about how to calculate the probabilities and getting a certain result of measuring Bell's states with Pauli matrices as the operator. When you measure something, the state involved would be ...
30
votes
4answers
9k views

What is meant by the term "computational basis"?

What is meant by the term "computational basis" in the context of quantum computing and quantum algorithms?
7
votes
1answer
486 views

Preparing a quantum state from a classical probability distribution

Suppose I have a black-box unitary $U_p$ which is described as follows: given a finite probability distribution $p:\{1,\ldots,n\}\rightarrow \mathbb{R}_{\geq0}$, where $\sum_{x=1}^n p(x)=1$, the ...
7
votes
3answers
2k views

How can infinite information be theoretically encoded or stored in a single qubit?

I've just gotten started with Nielsen and Chuang's text, and I'm a little stuck. They mention that theoretically, it would be possible to store an infinite amount of information in the state of a ...
4
votes
1answer
184 views

Help Identifying a Gate In Nielsen and Chuang

I am seeking help to identify the oracle gates listed in this example. I understand that the right-most one is a toffoli gate, but what are the other ones? Specifically, I do not understand what a ...
16
votes
3answers
4k views

Why does the "Phase Kickback" mechanism work in the Quantum phase estimation algorithm?

I've probably read the chapter The quantum Fourier transform and its applications from Nielsen and Chuang (10 th anniversary edition) a couple of times before and this took this thing for granted, but ...
24
votes
4answers
23k views

What's the difference between a pure and mixed quantum state?

As per my limited understanding, a pure state is the quantum state where we have exact information about the quantum system. And the mixed state is the combination of probabilities of the information ...
29
votes
1answer
1k views

Quantum machine learning after Ewin Tang

Recently, a series of research papers have been released (this, this and this, also this) that provide classical algorithms with the same runtime as quantum machine learning algorithms for the same ...
20
votes
5answers
5k 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$ ...
25
votes
3answers
2k views

How does measurement of one qubit affect the others?

To represent a quantum computer's state, all the qubits contribute to one state vector (this is one of the major differences between quantum and classical computing as I understand it). My ...
17
votes
4answers
2k views

Alternative to Bloch sphere to represent a single qubit

In order to represent the single qubit $|\psi\rangle$ we use an unitary vector in a $\mathbb{C}^2$ Hilbert space whose (one of the) orthonormal base is $(|0\rangle, |1\rangle)$. We can draw $|\psi\...
4
votes
1answer
277 views

Compute the output of the quantum teleportation circuit

Sender and receiver use the teleportation protocol, where the sender teleports a quantum state $\left| \varphi \right>=\alpha\left| 0 \right> + \beta \left|1\right>$ to the receiver. I want ...
16
votes
3answers
5k views

How to calculate circuit depth properly?

Is the circuit depth the longest sequence of gates applied on one of the qubits? Or is it something more complicated?
9
votes
2answers
2k views

How can I calculate the inner product of two quantum registers of different sizes?

I found an algorithm that can compute the distance of two quantum states. It is based on a subroutine known as swap test (a fidelity estimator or inner product of two state, btw I don't understand ...
7
votes
1answer
2k views

How to find a density matrix of a qubit?

If we are given a state of a qubit, how do we construct its density matrix?
8
votes
2answers
859 views

How to show that an n-level system is entangled?

"How do I show that a two-qubit state is an entangled state?" includes an answer which references the Peres–Horodecki criterion. This works for $2\times 2$ and $2\times3$ dimensional cases; however, ...
3
votes
2answers
589 views

How to find the reduced density matrix of a four-qubit system?

I have the state vector $|p\rangle$ made up of 4 qubits. Say system A is made up of the first and second qubits while system B is made up of qubits 3 and 4. I want to find the reduced density matrix ...
1
vote
1answer
672 views

How do two qubit states differing by a global phase relate to each other?

I have looked at the following: What is the difference between a relative phase and a global phase? In particular, what is a phase? Global and relative phases of kets in QM Global phases and ...
15
votes
4answers
2k views

Why are half angles used in the Bloch sphere representation of qubits?

Suppose we have a single qubit with state $| \psi \rangle = \alpha | 0 \rangle + \beta | 1 \rangle$. We know that $|\alpha|^2 + |\beta|^2 = 1$, so we can write $| \alpha | = \cos(\theta)$, $| \beta | ...
17
votes
1answer
1k views

No-cloning theorem and distinguishing between two non-orthogonal quantum states

I'm currently reading Nielsen and Chuang's Quantum Computation and Quantum Information and I'm not sure if I correctly understand this exercise (on page 57) : Exercise 1.2: Explain how a device which,...
16
votes
2answers
7k views

How to input 2 qubits in 2 Hadamard gates?

Let's say we have a circuit with $2$ Hadamard gates: Let's take the $|00\rangle$ state as input. The vector representation of $|00\rangle$ state is $[1 \ 0 \ 0 \ 0]$, but this is the representation ...
15
votes
3answers
688 views

How to compactly represent multiple qubit states?

Since access to quantum devices capable of quantum computing is still extremely limited, it is of interest to simulate quantum computations on a classical computer. Representing the state of $n$ ...
3
votes
3answers
279 views

How is it possible to guess what state the qubit was in by measuring it?

Let's say that the qubit is in the state $\psi = \alpha|0\rangle+\beta|1\rangle$. We want to find out the values $\alpha$ and $\beta$. If we measure it in, say, the standard basis, then the outcome we ...
10
votes
2answers
2k views

How and why does swap test works?

I am having some trouble understanding why a SWAP test would work. I meant I read that and understood the concepts as follows: If the two input states are equal, the output register always results in ...
4
votes
1answer
155 views

Is the quantum state fidelity defined as $F(\rho, \sigma)=\text{tr}\sqrt{\rho^{1/2}\sigma\rho^{1/2}}$ or its square?

I have seen two different definition of Fidelity in different sources. For example, Nielsen & Chuang QCQI, 10th edition, page 409 defines Fidelity like the following: $$ F(\rho, \sigma) := \...
3
votes
1answer
151 views

What is the standard noise channel that is applied in simulations?

I know there are various quantum noise channels, which include the depolarizing channel, the dephasing channel and the bit-flip channel; We can apply them in simulators easily. However, is there any ...
3
votes
2answers
172 views

Can a qubit be in the inside of the Bloch Sphere?

Can qubit be inside Bloch Sphere, i.e. its length is less than 1? If yes, how we represent that state since we have only parameter for angles and not the length (norm) of the vector?
2
votes
3answers
536 views

Swap Test for vector difference - how are different sized inputs combined?

I'm working on a similar problem of that raised by Aman in Inner product of quantum states Concerning the use of Swap Test for calculating the difference of two vectors. An example of the original ...
13
votes
3answers
623 views

Is acting with a positive map on a state not part of a larger system allowed?

In the comments to a question I asked recently, there is a discussion between user1271772 and myself on positive operators. I know that for a positive trace-preserving operator $\Lambda$ (e.g. the ...
7
votes
2answers
2k views

Measuring in standard basis meaning

What does it mean to measure a qubit (or multiple qubits) in standard basis?
5
votes
1answer
180 views

Does the circuit with qubit-wise CZ gates compute the inner product of two states? If not, is there another circuit that does?

I've been searching for a quantum algorithm to compute the the inner product between two $n$-qubit quantum states, namely $\langle\phi|\psi\rangle$, which is in general a complex number. One can get $|...
3
votes
1answer
182 views

What separable $\rho$ only admit separable pure decompositions with more than $\mathrm{rank}(\rho)$ terms?

As shown e.g. in Watrous' book (Proposition 6.6, page 314), a separable state $\rho$ can always be written as a convex combination of at most $\mathrm{rank}(\rho)^2$ pure, separable states. More ...
3
votes
5answers
253 views

How do I get the Unitary matrix of a circuit without using the 'unitary_simulator'?

I am using jupyter notebook and qiskit. I have a simple quantum circuit and I want to know how to get the unitary matrix of the circuit without using 'get_unitary' from the Aer unitary_simulator. i.e.:...
7
votes
3answers
284 views

Forming states of the form $\sqrt{p}\vert 0\rangle+\sqrt{1-p}\vert 1\rangle$

I'm curious about how to form arbitrary-sized uniform superpositions, i.e., $$\frac{1}{\sqrt{N}}\sum_{x=0}^{N-1}\vert x\rangle$$ for $N$ that is not a power of 2. If this is possible, then one can ...
4
votes
2answers
567 views

How to superpose two composite qubit states?

Assuming we have two sets of $n$ qubits. The first set of $n$ qubits is in state $|a\rangle$ and second set in $|b\rangle$. Is there a fixed procedure that generates a superposed state of the two $|a\...
3
votes
2answers
111 views

Entanglement distribution of W-State over different locations

I would like to create a quantum system with the gates for a W state where each qubit is at a different location. Entanglement distribution has been proven in several research articles. I'm new to ...
3
votes
2answers
195 views

How to construct local unitary transformations mapping a pure state to another with the same entanglement?

$\newcommand{\Ket}[1]{\left|#1\right>}$In Nielsen's seminal paper on entanglement transformations (https://arxiv.org/abs/quant-ph/9811053), he gives a converse proof for the entanglement ...
3
votes
1answer
198 views

How is the joint state of these qubits derived?

Can someone show to me the steps to derive the joint state at the bottom of this image, please? I tried to follow his explanation but I didn't get the same results… This is taken from the lecture ...
3
votes
1answer
135 views

How is a two qubit mixed state represented in the form of Bloch vector?

How is a two qubit mixed state represented in the form of Bloch vector?
3
votes
1answer
182 views

How to construct a controlled-Hadamard gate using single qubit gates and controlled phase-shift?

How can I construct a controlled-Hadamard gate using single qubit gates and controlled phase-shift? I am stuck in this and any help would be appreciated.
0
votes
1answer
992 views

Find coordinates $\theta$ and $\phi$ on the Bloch sphere of a given qubit state [duplicate]

In last time there is a lot of questions how to find $\theta$ and $\phi$ for particular state on Bloch sphere. I think that it would be useful to solve one example to stop stream of very similar ...
-1
votes
1answer
71 views

How do I calculate the eigenvalues of the positive partial transpose of this two-qubit state?

How can I calculate the eigenvalues of $\rho^{T_{B}}$ (PPT) of the following state $$ \rho =\frac{1}{2}|0\rangle\langle0|\otimes|+\rangle\langle+|+\frac{1}{2}|+\rangle\langle+|\otimes|1\rangle\langle1|...
17
votes
6answers
4k views

Quantum states are unit vectors... with respect to which norm?

The most general definition of a quantum state I found is (rephrasing the definition from Wikipedia) Quantum states are represented by a ray in a finite- or infinite-dimensional Hilbert space over ...