API Response (JSON)
{
"problem": {
"name": "D1. Oracle for f(x) = b * x mod 2",
"description": {
"content": "Implement a quantum oracle on _N_ qubits which implements the following function: , where (a vector of _N_ integers, each of which can be 0 or 1). For an explanation on how this type of quantum oracl",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF1002D1"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Implement a quantum oracle on _N_ qubits which implements the following function: , where (a vector of _N_ integers, each of which can be 0 or 1).\n\nFor an explanation on how this type of quantum oracl...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "实现一个作用于 #cf_span[N] 个量子比特上的量子预言机,实现以下函数:,其中 (一个包含 #cf_span[N] 个整数的向量,每个整数为 0 或 1)。\n\n有关此类量子预言机的工作原理,请参阅 量子预言机简介。\n\n你需要实现一个操作,它接受以下输入:\n\n该操作没有输出;其“输出”是它对量子比特所留下的状态。\n\n你的代码应具有以下签名:\n\n[samples]...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ N \\in \\mathbb{Z}^+ $ be the number of qubits. \nLet $ \\mathcal{H} = (\\mathbb{C}^2)^{\\otimes N} $ be the Hilbert space of $ N $ qubits. \nLet $ \\mathbf{x} = (x_1, x_2, \\dots, x_...",
"is_translate": false,
"language": "Formal"
}
]
}