Eq.(34): single-site impurity response
OpenQAlgorithms.Papers.Independent.Advance50.P50.site_impurityAn -qubit input is a positive semidefinite, trace-one matrix on the fixed computational basis, of dimension . A -copy model has a fixed input-independent unitary , a Hermitian observable , effective observable , and exact response . Let be a pure -qubit density matrix with , and let for . For two copies, swaps the copies at precisely the sites in and acts as identity elsewhere. Assume and choose site . A two-copy model with satisfies
This is the displayed single-site impurity response across the site-versus-rest cut, with identity on all other paired sites.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P50
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P50
open MeasureTheory ProbabilityTheory
open scoped ComplexConjugate ENNReal
-- Exact accepted primitives; no paper-local redeclarations.
open QAlgorithms.Papers.Independent.Information100.P63 (Mat tensorPower)
open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)
open QAlgorithms.Papers.Independent.Gap48.P38 (subsystemReduction)
open QAlgorithms.Papers.Independent.Information100.P32 (purity)
open QAlgorithms.Papers.Independent.Information100.P08 (IsPure)
-- Matrices carry the associative commutator bracket X*Y-Y*X.
attribute [local instance 100] LieRing.ofAssociativeRing
/-- PDF p.13, Eq.(34): the response is twice the one-site linear entropy. -/
theorem site_impurity {n : ℕ} (hn : 1 ≤ n) (j : Fin n)
(M : ExpectationModel (Qubits n) 2)
(hobs : M.effective = (2 : ℂ) • (1 - subsystemSwap {j}))
(rho : Mat (Qubits n)) (hpure : IsPure rho) :
M.response rho = 2 * (1 - purity (subsystemReduction (fun _ => Bool) rho {j})) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P50
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be an integer and . Let consist of a unitary and a Hermitian observable on two -qubit copies, and assume , where exchanges the two copies’ bits at site and leaves every other bit unchanged. For every matrix with , its response satisfies
Here is the reduction to site : for assignments on that site, , with ranging over assignments on all other sites.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.