API Response (JSON)
{
"problem": {
"name": "C1. Distinguish zero state and plus state with minimum error",
"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": "CF1002C1"
},
"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": "给定一个量子比特,其状态保证为 state 或 state 之一。\n\n你的任务是执行必要的操作和测量,以确定它原本处于哪种状态,并在是 state 时返回 0,在是 state 时返回 1。操作后量子比特的状态无关紧要。\n\n请注意,这些状态并非正交,因此无法完美区分。在每个测试用例中,你的解决方案将被调用 1000 次,你的目标是至少 80% 的次数给出正确答案。在每个测试中, stat...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $\\ket{\\psi} \\in \\{\\ket{\\phi_0}, \\ket{\\phi_1}\\}$ be the input qubit state, where: \n- $\\ket{\\phi_0} = \\ket{0}$, \n- $\\ket{\\phi_1} = \\frac{1}{\\sqrt{2}}(\\ket{0} + \\ket{1})$. \n\nLet ...",
"is_translate": false,
"language": "Formal"
}
]
}