API Response (JSON)
{
"problem": {
"name": "C2. Distinguish zero state and plus state without errors",
"description": {
"content": "You are given a qubit which is guaranteed to be either in state or in state. Your task is to perform necessary operations and measurements to figure out which state it was and to return 0 if it was a",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF1002C2"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a qubit which is guaranteed to be either in state or in state.\n\nYour task is to perform necessary operations and measurements to figure out which state it was and to return 0 if it was a...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定一个量子比特,其状态保证为 $\\ket{0}$ 态或 $\\ket{+}$ 态。\n\n你的任务是执行必要的操作和测量,以确定它原本处于哪种状态,并返回 0(如果是 $\\ket{0}$ 态)、1(如果是 $\\ket{+}$ 态)或 -1(如果无法确定,即“无结论”结果)。操作后量子比特的状态无关紧要。\n\n请注意,这些态不是正交的,因此无法完美区分。在每个测试用例中,你的解决方案将被调用 10000 ...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $|\\psi\\rangle \\in \\{ |\\psi_0\\rangle, |\\psi_1\\rangle \\}$ be the input qubit state, where $|\\psi_0\\rangle$ and $|\\psi_1\\rangle$ are non-orthogonal pure states in $\\mathbb{C}^2$, wi...",
"is_translate": false,
"language": "Formal"
}
]
}