API Response (JSON)
{
"problem": {
"name": "B3. Distinguish four 2-qubit states",
"description": {
"content": "You are given 2 qubits which are guaranteed to be in one of the four orthogonal states: Your task is to perform necessary operations and measurements to figure out which state it was and to return th",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF1002B3"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given 2 qubits which are guaranteed to be in one of the four orthogonal states:\n\nYour task is to perform necessary operations and measurements to figure out which state it was and to return th...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定两个量子比特,它们保证处于以下四个正交态之一:\n\n你的任务是执行必要的操作和测量,以确定它处于哪个状态,并返回该状态的索引(0 表示 ,1 表示 ,依此类推)。操作后量子比特的状态无关紧要。\n\n你需要实现一个操作,该操作接受一个包含 2 个量子比特的数组作为输入,并返回一个整数。\n\n你的代码应具有以下签名:\n\n[samples]...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $\\mathcal{H} = \\mathbb{C}^2 \\otimes \\mathbb{C}^2$ be the Hilbert space of two qubits. \nLet $\\{|\\psi_0\\rangle, |\\psi_1\\rangle, |\\psi_2\\rangle, |\\psi_3\\rangle\\} \\subset \\mathcal{H...",
"is_translate": false,
"language": "Formal"
}
]
}