API Response (JSON)
{
"problem": {
"name": "G. Oracle for f(x) = k-th element of x",
"description": {
"content": "Implement a quantum oracle on _N_ qubits which implements a function _f_(_x_) = _x__k_, i.e. the value of the function is the value of the _k_\\-th qubit. For an explanation on how the quantum oracles",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF1001G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Implement a quantum oracle on _N_ qubits which implements a function _f_(_x_) = _x__k_, i.e. the value of the function is the value of the _k_\\-th qubit.\n\nFor an explanation on how the quantum oracles...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "实现一个作用于 #cf_span[N] 个量子比特上的量子预言机,该预言机实现函数 #cf_span[f(x) = xk],即函数的值为输入寄存器中第 #cf_span[k] 个量子比特的值。\n\n有关量子预言机工作原理的说明,请参见教程博客文章。\n\n你需要实现一个操作,该操作接受以下输入:\n\n该操作没有输出;你的解决方案的“输出”是它最终留下的量子比特状态。\n\n你的代码应具有以下签名:\n\n## I...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ N \\in \\mathbb{Z}^+ $ be the number of qubits. \nLet $ k \\in \\{0, 1, \\dots, N-1\\} $ be the index of the target qubit. \nLet $ \\mathcal{H} = (\\mathbb{C}^2)^{\\otimes N} $ be the H...",
"is_translate": false,
"language": "Formal"
}
]
}