Bipartite pure states #
A pure state of a bipartite system with computational bases ι and κ is a vector of
ℂ^{ι × κ}. This file provides:
- the product state
ψ ⊗ φwith amplitudesψ_i φ_k(Cslib.Quantum.prodState), the coordinate form of the tensor productℂ^ι ⊗ ℂ^κ ≅ ℂ^{ι × κ}, with⟪ψ ⊗ φ, ψ' ⊗ φ'⟫ = ⟪ψ, ψ'⟫ ⟪φ, φ'⟫; - the action of Kronecker products
A ⊗ₖ Bon product states (for the action ofA ⊗ₖ 1and1 ⊗ₖ Bon any state, seeMatrix.kronecker_one_mulVec_applyandMatrix.one_kronecker_mulVec_apply); - measuring the first system in the computational basis: for outcome
ithe second system is left in the conditional state(⟨i| ⊗ 1) Ψ(Cslib.Quantum.condState), of squared norm the probability ofi(Cslib.Quantum.measure_map_fst_apply), which normalizes to the post-measurement state (Cslib.Quantum.postMeasure), de Wolf, Section 1.3.
Main definitions #
Cslib.Quantum.prodState: the product stateψ ⊗ φ.Cslib.Quantum.condState: the unnormalized state of the second system after outcomeion the first.Cslib.Quantum.postMeasure: its normalization, the post-measurement state.
Main results #
Cslib.Quantum.inner_prodState,Cslib.Quantum.norm_prodState: inner products and norms of product states factor.Cslib.Quantum.kronecker_mulVec_prodState:(A ⊗ₖ B)(ψ ⊗ φ) = Aψ ⊗ Bφ.Cslib.Quantum.measure_map_fst_apply: the probability of outcomeion the first system is‖condState i Ψ‖².Cslib.Quantum.norm_postMeasure: the post-measurement state of a possible outcome is a unit vector.
References #
Product states #
The product state ψ ⊗ φ ∈ ℂ^{ι × κ}, with amplitudes (ψ ⊗ φ)_{(i, k)} = ψ_i φ_k.
Kronecker products #
(A ⊗ₖ B)(ψ ⊗ φ) = Aψ ⊗ Bφ; see Matrix.kronecker_mulVec_mul for the action of a
Kronecker product on vectors over any commutative semiring.
Measuring the first system #
The conditional state (⟨i| ⊗ 1) Ψ of the second system after outcome i of a
computational-basis measurement of the first: the unnormalized post-measurement state, with
amplitudes Ψ_{(i, k)}.
The squared norm of the conditional state is the probability of the outcome.
The post-measurement state (⟨i| ⊗ 1) Ψ / ‖(⟨i| ⊗ 1) Ψ‖ of the second system after
outcome i on the first.
The post-measurement state of an outcome of positive probability is a unit vector.