benchmarks.wiki / Public workspace
CritPt / Challenge_30_main / Let H_(b), H_(B), H_(f), H_(P) each be a finite-dimensional Hilbert space, with…
Problem
Answer published by the source. Consult the official source to check your work against its answer.
code template
Code
import sympy as sp
from sympy.physics.quantum import Ket, Bra, Dagger
phi = Ket('phi')
psi = Ket('psi')
phi_star = Ket('phi*')
psi_star = Ket('psi*')
d_P, d_B = sp.symbols('d_P d_B')
d = sp.symbols('d')
def answer(phi, psi, phi_star, psi_star, d_P, d_B, d):
r"""
Return the expression of \overline{\lvert \langle\phi|V^\dagger V|\psi\rangle \rvert^2} in Sympy format.
Inputs
----------
phi: sympy.Symbol, state vector |\phi\rangle_b
psi: sympy.Symbol, state vector |\psi\rangle_b
phi_star: sympy.Symbol, state vector |\phi^*\rangle_b
psi_star: sympy.Symbol, state vector |\psi^*\rangle_b
d_P: sympy.Symbol, $d_P := \dim H_P$
d_B: sympy.Symbol, $d_B := \dim H_B$
d: sympy.Symbol, $d = \dim(H_b \otimes H_f)$
Outputs
----------
expr: sympy.Expr, \overline{\lvert \langle\phi|V^\dagger V|\psi\rangle \rvert^2},
where the overline indicates the average over $O$.
"""
# ------------------ FILL IN YOUR RESULTS BELOW ------------------
expr = ... # a SymPy expression of inputs
# ---------------------------------------------------------------
return exprproblem description
# Problem setup:
Let , , , each be a finite-dimensional Hilbert space, with and .
Define the linear map as follows,
\begin{equation}
V = \sqrt{\dim(H_P)} \langle 0|_P O |0\rangle_f,
\end{equation}
where and are fiducial states on and , respectively, and is an operator acting on drawn at random from the orthogonal group with .
Let and . And for any state , denote its complex conjugate by
$|\phi^*\rangle$.
# Main problem:
Given two states and , calculate the quantity
\begin{equation}
\overline{\lvert \langle\phi|V^\dagger V|\psi\rangle \rvert^2},
\end{equation}
where the overline indicates the average over .Plain-text mathematical notation (without MathML)
# Problem setup:
Let H_(b), H_(B), H_(f), H_(P) each be a finite-dimensional Hilbert space, with dimH_(b)>dimH_(B) and dim(H_(b)⊗H_(f))=dim(H_(B)⊗H_(P)).
Define the linear map V:H_(b)→H_(B) as follows,
\begin{equation}
V = \sqrt{\dim(H_P)} \langle 0|_P O |0\rangle_f,
\end{equation}
where |0⟩_(f) and |0⟩_(P) are fiducial states on H_(f) and H_(P), respectively, and O is an operator acting on H_(b)⊗H_(f) drawn at random from the orthogonal group O(d) with d=dim(H_(b)⊗H_(f)).
Let d_(P):=dimH_(P) and d_(B):=dimH_(B). And for any state |ϕ⟩, denote its complex conjugate by $|\phi^*\rangle$.
# Main problem:
Given two states |ψ⟩_(b)∈H_(b) and |ϕ⟩_(b)∈H_(b), calculate the quantity
\begin{equation}
\overline{\lvert \langle\phi|V^\dagger V|\psi\rangle \rvert^2},
\end{equation}
where the overline indicates the average over O.Original LaTeX notation
# Problem setup:
Let $H_b$, $H_B$, $H_f$, $H_P$ each be a finite-dimensional Hilbert space, with $\dim H_b > \dim H_B$ and $\dim(H_b \otimes H_f) = \dim(H_B \otimes H_P)$.
Define the linear map $V: H_b \to H_B$ as follows,
\begin{equation}
V = \sqrt{\dim(H_P)} \langle 0|_P O |0\rangle_f,
\end{equation}
where $|0\rangle_f$ and $|0\rangle_P$ are fiducial states on $H_f$ and $H_P$, respectively, and $O$ is an operator acting on $H_b \otimes H_f$ drawn at random from the orthogonal group $O(d)$ with $d = \dim(H_b \otimes H_f)$.
Let $d_P := \dim H_P$ and $d_B := \dim H_B$. And for any state $|\phi\rangle$, denote its complex conjugate by $|\phi^*\rangle$.
# Main problem:
Given two states $|\psi\rangle_b \in H_b$ and $|\phi\rangle_b \in H_b$, calculate the quantity
\begin{equation}
\overline{\lvert \langle\phi|V^\dagger V|\psi\rangle \rvert^2},
\end{equation}
where the overline indicates the average over $O$.Discussion
No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.
See answer Answer published by the source
Artifacts
Code, notes and reproducible work shared by participants. Files are served from a separate origin.
No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.
Source and history
initial import