Primus · autonomous ML research by Transformer Lab

twirled-bell-witness

Total time 3d 18h · Agent work 3h 47m · GPU compute 0.0h

This research experiment was scoped, run, and written up by Primus, an autonomous ML research agent. This page shows the initial prompt, what the agent drew along the way, and the final report.

Initial prompt

Agent Prompt: Exact Analytical Solution for PPT Discrimination of Two-Qubit Ensembles

Your objective is to derive and rigorously prove the closed-form analytical solution for the positive-partial-transpose (PPT) discrimination probability of a specific quantum state ensemble. Numerical approximation is insufficient; your final deliverable must be a rigorous mathematical proof consisting of exact, symbolic matching primal and dual SDP certificates.

1. Mathematical Setup

Let X1,X2,Y1,Y2\mathcal{X}_1, \mathcal{X}_2, \mathcal{Y}_1, \mathcal{Y}_2 each denote C2\mathbb{C}^2, and write X=X1X2\mathcal{X} = \mathcal{X}_1 \otimes \mathcal{X}_2 and Y=Y1Y2\mathcal{Y} = \mathcal{Y}_1 \otimes \mathcal{Y}_2. Alice holds the pair of systems X\mathcal{X} and Bob holds Y\mathcal{Y}. Fix real numbers αβ0\alpha \geq \beta \geq 0 with α2+β2=1\alpha^2 + \beta^2 = 1, and define four orthonormal states in X1Y1\mathcal{X}_1 \otimes \mathcal{Y}_1:

ψ0=α00+β11,ψ1=β00α11\ket{\psi_0} = \alpha\ket{00} + \beta\ket{11}, \qquad \ket{\psi_1} = \beta\ket{00} - \alpha\ket{11}

ψ2=α01+β10,ψ3=β01α10\ket{\psi_2} = \alpha\ket{01} + \beta\ket{10}, \qquad \ket{\psi_3} = \beta\ket{01} - \alpha\ket{10}

For ε[0,1]\varepsilon \in [0,1], define a resource state in X2Y2\mathcal{X}_2 \otimes \mathcal{Y}_2:

τε=1+ε200+1ε211\ket{\tau_\varepsilon} = \sqrt{\frac{1+\varepsilon}{2}}\ket{00} + \sqrt{\frac{1-\varepsilon}{2}}\ket{11}

At ε=0\varepsilon = 0 this is maximally entangled; at ε=1\varepsilon = 1 it is a product state. For an index set S{0,1,2,3}S \subseteq \{0,1,2,3\}, define the ensemble ηεS\eta_\varepsilon^{S} where the states are drawn with uniform probability 1/S1/\vert{}S\vert{}:

ηεS={(1S,ψiτε):iS}\eta_\varepsilon^{S} = \left\{ \left( \frac{1}{\vert{}S\vert{}}, \ket{\psi_i} \otimes \ket{\tau_\varepsilon} \right) : i \in S \right\}

Let ρi=(ψiτε)(ψiτε)\rho_i = \bigl(\ket{\psi_i}\otimes\ket{\tau_\varepsilon}\bigr) \bigl(\bra{\psi_i}\otimes\bra{\tau_\varepsilon}\bigr).

2. The PPT SDP Formulation

A measurement is a collection {Pi}iS\{P_i\}_{i \in S} of positive semidefinite operators on XY\mathcal{X}\otimes\mathcal{Y} summing to 1\mathbb{1}. The PPT measurement class requires each PiP_i to have a positive semidefinite partial transpose across the bipartition between Alice's systems (X\mathcal{X}) and Bob's systems (Y\mathcal{Y}). The optimal PPT discrimination probability, optPPT\mathrm{opt}_{\mathrm{PPT}}, is given exactly by this Semidefinite Program (SDP):

maximize1SiSPi,ρisubject toiSPi=1,Pi0,iS,TY(Pi)0,iS\begin{aligned} \text{maximize} \quad & \frac{1}{\vert{}S\vert{}}\sum_{i \in S} \langle P_i, \rho_i\rangle \\ \text{subject to} \quad & \sum_{i \in S} P_i = \mathbb{1}, \\ & P_i \succeq 0, \quad i \in S, \\ & \mathrm{T}_{\mathcal{Y}}(P_i) \succeq 0, \quad i \in S \end{aligned}

where TY\mathrm{T}_{\mathcal{Y}} is the partial transpose on Bob's systems.

3. The Target: Four-State Family Solution

Take S={0,1,2,3}S = \{0,1,2,3\}, meaning the ensemble is the full orthonormal basis with the resource attached. It is known that the solution takes the following closed form:

optPPT(ηε{0,1,2,3})=12(1+1v2)\mathrm{opt}_{\mathrm{PPT}}\bigl(\eta_\varepsilon^{\{0,1,2,3\}}\bigr) = \frac{1}{2}\Bigl(1 + \sqrt{1-v^2}\Bigr)

Your task is to independently discover the exact function v(α,ε)v(\alpha, \varepsilon) and rigorously prove it. As a calibration anchor, for the symmetric three-state family S={0,1,2}S = \{0,1,2\} at α=β=1/2\alpha = \beta = 1/\sqrt{2}, the optimal separable (and PPT) value is known to be 13(2+1ε2)\frac{1}{3}\bigl(2 + \sqrt{1-\varepsilon^2}\bigr). Use this structure to guide your ansatz.

4. Required Execution Pipeline

  1. High-Precision Sampling: Solve the SDP densely over a grid of (α,ε)(\alpha, \varepsilon) values. Default solver tolerances are too loose; you must achieve roughly 10 digits of precision before fitting.
  2. Symbolic Regression: Use the high-precision numerical data to recover the explicit algebraic form of v(α,ε)v(\alpha, \varepsilon) via symbolic regression (without looking it up).
  3. Exact Exact Dual Construction (The Proof): Read the structure of the optimal dual solution off the numerical solver (eigenvalues, eigenvectors, tight constraints). Guess the exact algebraic form of the primal and dual operators. Verify the primal-dual matching in exact arithmetic using a computer algebra system (e.g., SymPy). A verified matching primal and dual pair is the only acceptable proof.

5. Known Pitfalls & Guidelines

  • System Ordering (Critical): The states live in X1Y1X2Y2\mathcal{X}_1 \otimes \mathcal{Y}_1 \otimes \mathcal{X}_2 \otimes \mathcal{Y}_2, but the bipartition for the partial transpose is (X1X2)(\mathcal{X}_1\mathcal{X}_2) against (Y1Y2)(\mathcal{Y}_1\mathcal{Y}_2). A system permutation is required before transposing. Getting this wrong produces plausible numbers that silently answer a different question.
  • Exploit Symmetry: Both ensembles carry a symmetry group. Twirling over it block-diagonalizes the SDP, reducing it to small invariant blocks. This is the most reliable route to a closed form.
  • Start at Boundaries: Solve analytically for ε=0\varepsilon = 0, ε=1\varepsilon = 1, and α=β\alpha = \beta across all ε\varepsilon to pin the edges of the surface and constrain your candidate formula.

6. Recommended Tools

  • toqito (Python): State discrimination, PPT measurement helpers, partial transpose/trace with explicit system indexing.
  • CVXPY: Use MOSEK (preferred) or SDPA as the backend for the required 10-digit accuracy.
  • SymPy / mpmath: For exact-arithmetic verification of the conjectured certificate and high-precision sampling.
  • PySR: For the symbolic regression step to recover v(α,ε)v(\alpha, \varepsilon).

What the agent drew

Project complete: all eight stages delivered
The theorem is proved with both certificates in closed form; the paper, theorem card and reproduction kit are ready in the Reports and Reproducibility panes.
Open the final reportOpens in your browser's PDF viewer
Shared by the experiment's team via Primus, by Transformer Lab. Reports are generated by an autonomous agent and are not peer-reviewed publications.