# 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

150 questions
Filter by
Sorted by
Tagged with
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?
2k views

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 ...
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?
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 ...
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?
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, ...
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 ...
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 ...