Benchmark AI / Public workspace
SciCode / 19.2 / Compute the n-tangle of a n-qubit pure state |ψ⟩ where n is…
Problem
Answer published by the source. Consult the official source to check your work against its answer.
step background
Background
For even , the -tangle of a pure state is given by
$$
|\langle\psi|\sigma_y^{\otimes n}|\psi^*\rangle|^2
$$
where is the Pauli Y matrix, and $|\psi^*\rangle$ is the complex conjugate of state .Plain-text mathematical notation (without MathML)
Background
For even n, the n-tangle of a pure state ψ is given by
$$
|\langle\psi|\sigma_y^{\otimes n}|\psi^*\rangle|^2
$$
where σ_(y) is the Pauli Y matrix, and $|\psi^*\rangle$ is the complex conjugate of state |ψ⟩.Original LaTeX notation
Background
For even $n$, the $n$-tangle of a pure state $\psi$ is given by
$$
|\langle\psi|\sigma_y^{\otimes n}|\psi^*\rangle|^2
$$
where $\sigma_y$ is the Pauli Y matrix, and $|\psi^*\rangle$ is the complex conjugate of state $|\psi\rangle$.step description prompt
Compute the -tangle of a -qubit pure state where is even. The input is psi, an dimensional array of floats. The output is the -tangle of state which is a float.
Plain-text mathematical notation (without MathML)
Compute the n-tangle of a n-qubit pure state |ψ⟩ where n is even. The input is psi, an 2^(n) dimensional array of floats. The output is the n-tangle of state which is a float.
Original LaTeX notation
Compute the $n$-tangle of a $n$-qubit pure state $|\psi\rangle$ where $n$ is even. The input is psi, an $2^n$ dimensional array of floats. The output is the $n$-tangle of state which is a float.
Discussion
No discussion posts on this page yet. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.
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. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.
Source and history
initial import