paddle_quantum.mbqc.qobject.Circuit.po 20.8 KB
Newer Older
Q
Quleaf 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2021, Institute for Quantum Computing, Baidu Inc.
# This file is distributed under the same license as the Paddle Quantum
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: Paddle Quantum \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-26 16:36+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"

#: ../../source/_autosummary/paddle_quantum.mbqc.qobject.Circuit.rst:2
msgid "paddle\\_quantum.mbqc.qobject.Circuit"
msgstr "paddle\\_quantum.mbqc.qobject.Circuit"

#: of paddle_quantum.mbqc.qobject.Circuit:1
msgid "定义量子电路。"
msgstr "Define quantum circuit."

#: of paddle_quantum.mbqc.qobject.Circuit:3
msgid "该类与 ``UAnsatz`` 类似,用户可以仿照 ``UAnsatz`` 电路的调用方式对此类进行实例化,完成电路图的构建。"
msgstr ""
"This class is similar to the class ``UAnsatz``. Users can similarly "
"instantiate this class to build quantum circuits."

#: of paddle_quantum.mbqc.qobject.Circuit:5
msgid ""
"当前版本仅支持 ``H, X, Y, Z, S, T, Rx, Ry, Rz, Rz_5, U, CNOT, CNOT_15, CZ`` "
"中的量子门以及测量操作。"
msgstr ""
"The current version only supports quantum measurements and quantum gates "
"in ``H, X, Y, Z, S, T, Rx, Ry, Rz, Rz_5, U, CNOT, CNOT_15, CZ``."

#: of paddle_quantum.mbqc.qobject.Circuit:9
#: paddle_quantum.mbqc.qobject.Circuit.__init__:3
msgid "电路的宽度(比特数)"
msgstr "Circuit width (qubit number)."

#: of paddle_quantum.mbqc.qobject.Circuit
msgid "type"
msgstr "type"

#: of paddle_quantum.mbqc.qobject.Circuit:11
msgid "int"
msgstr "int"

#: of paddle_quantum.mbqc.qobject.Circuit.__init__:1
#: paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid "``Circuit`` 的构造函数,用于实例化一个 ``Circuit`` 对象。"
msgstr "``Circuit`` constructor, used to instantiate a ``Circuit`` object."

#: of paddle_quantum.mbqc.qobject.Circuit.__init__
#: paddle_quantum.mbqc.qobject.Circuit.cnot
#: paddle_quantum.mbqc.qobject.Circuit.cnot_15
#: paddle_quantum.mbqc.qobject.Circuit.cz paddle_quantum.mbqc.qobject.Circuit.h
#: paddle_quantum.mbqc.qobject.Circuit.measure
#: paddle_quantum.mbqc.qobject.Circuit.rx
#: paddle_quantum.mbqc.qobject.Circuit.ry
#: paddle_quantum.mbqc.qobject.Circuit.rz
#: paddle_quantum.mbqc.qobject.Circuit.rz_5
#: paddle_quantum.mbqc.qobject.Circuit.s paddle_quantum.mbqc.qobject.Circuit.t
#: paddle_quantum.mbqc.qobject.Circuit.u paddle_quantum.mbqc.qobject.Circuit.x
#: paddle_quantum.mbqc.qobject.Circuit.y paddle_quantum.mbqc.qobject.Circuit.z
msgid "Parameters"
msgstr "Parameters"

#: ../../source/_autosummary/paddle_quantum.mbqc.qobject.Circuit.rst:14
msgid "Methods"
msgstr "Methods"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`__init__ <paddle_quantum.mbqc.qobject.Circuit.__init__>`\\ "
"\\(width\\)"
msgstr ""
":obj:`__init__ <paddle_quantum.mbqc.qobject.Circuit.__init__>`\\ "
"\\(width\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`cnot <paddle_quantum.mbqc.qobject.Circuit.cnot>`\\ "
"\\(which\\_qubits\\)"
msgstr ""
":obj:`cnot <paddle_quantum.mbqc.qobject.Circuit.cnot>`\\ "
"\\(which\\_qubits\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.cnot:1
#: paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid "添加控制非门。"
msgstr "Add a Control NOT gate."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`cnot_15 <paddle_quantum.mbqc.qobject.Circuit.cnot_15>`\\ "
"\\(which\\_qubits\\)"
msgstr ""
":obj:`cnot_15 <paddle_quantum.mbqc.qobject.Circuit.cnot_15>`\\ "
"\\(which\\_qubits\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.cnot_15:1
#: paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid "添加控制非门 (该门对应的测量模式由十五个量子比特构成)。"
msgstr "Add a Control NOT gate (Corresponding to the pattern of 15 qubits)."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ":obj:`cz <paddle_quantum.mbqc.qobject.Circuit.cz>`\\ \\(which\\_qubits\\)"
msgstr ":obj:`cz <paddle_quantum.mbqc.qobject.Circuit.cz>`\\ \\(which\\_qubits\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.cz:1
#: paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid "添加控制 Z 门。"
msgstr "Add a Control Z gate."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`get_circuit <paddle_quantum.mbqc.qobject.Circuit.get_circuit>`\\ "
"\\(\\)"
msgstr ""
":obj:`get_circuit <paddle_quantum.mbqc.qobject.Circuit.get_circuit>`\\ "
"\\(\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.get_circuit:1
#: paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid "返回量子电路列表。"
msgstr "Return a quantum circuit list."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`get_measured_qubits "
"<paddle_quantum.mbqc.qobject.Circuit.get_measured_qubits>`\\ \\(\\)"
msgstr ""
":obj:`get_measured_qubits "
"<paddle_quantum.mbqc.qobject.Circuit.get_measured_qubits>`\\ \\(\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.get_measured_qubits:1
#: paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid "返回量子电路中测量的比特位。"
msgstr "Return measurement qubit indices in the quantum circuit."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ":obj:`get_width <paddle_quantum.mbqc.qobject.Circuit.get_width>`\\ \\(\\)"
msgstr ":obj:`get_width <paddle_quantum.mbqc.qobject.Circuit.get_width>`\\ \\(\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.get_width:1
#: paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid "返回量子电路的宽度。"
msgstr "Return quantum circuit width."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ":obj:`h <paddle_quantum.mbqc.qobject.Circuit.h>`\\ \\(which\\_qubit\\)"
msgstr ":obj:`h <paddle_quantum.mbqc.qobject.Circuit.h>`\\ \\(which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1
#: paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid "添加 ``Hadamard`` 门。"
msgstr "Add a ``Hadamard`` gate."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ":obj:`is_valid <paddle_quantum.mbqc.qobject.Circuit.is_valid>`\\ \\(\\)"
msgstr ":obj:`is_valid <paddle_quantum.mbqc.qobject.Circuit.is_valid>`\\ \\(\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.is_valid:1
msgid "检查输入的量子电路是否符合规定。"
msgstr "Check the validity of the quantum circuit."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`measure <paddle_quantum.mbqc.qobject.Circuit.measure>`\\ "
"\\(\\[which\\_qubit\\, basis\\_list\\]\\)"
msgstr ""
":obj:`measure <paddle_quantum.mbqc.qobject.Circuit.measure>`\\ "
"\\(\\[which\\_qubit\\, basis\\_list\\]\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.measure:1
msgid "对量子电路输出的量子态进行测量。"
msgstr "Measure the output state of the quantum circuit."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`print_circuit_list "
"<paddle_quantum.mbqc.qobject.Circuit.print_circuit_list>`\\ \\(\\)"
msgstr ""
":obj:`print_circuit_list "
"<paddle_quantum.mbqc.qobject.Circuit.print_circuit_list>`\\ \\(\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.print_circuit_list:1
msgid "打印电路图的列表。"
msgstr "Print quantum circuit list."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`rx <paddle_quantum.mbqc.qobject.Circuit.rx>`\\ \\(theta\\, "
"which\\_qubit\\)"
msgstr ""
":obj:`rx <paddle_quantum.mbqc.qobject.Circuit.rx>`\\ \\(theta\\, "
"which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.rx:1
msgid "添加关于 x 轴的旋转门。"
msgstr "Add a rotation gate around x-axis."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`ry <paddle_quantum.mbqc.qobject.Circuit.ry>`\\ \\(theta\\, "
"which\\_qubit\\)"
msgstr ""
":obj:`ry <paddle_quantum.mbqc.qobject.Circuit.ry>`\\ \\(theta\\, "
"which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.ry:1
msgid "添加关于 y 轴的旋转门。"
msgstr "Add a rotation gate around y-axis."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`rz <paddle_quantum.mbqc.qobject.Circuit.rz>`\\ \\(theta\\, "
"which\\_qubit\\)"
msgstr ""
":obj:`rz <paddle_quantum.mbqc.qobject.Circuit.rz>`\\ \\(theta\\, "
"which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.rz:1
msgid "添加关于 z 轴的旋转门。"
msgstr "Add a rotation gate around z-axis."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`rz_5 <paddle_quantum.mbqc.qobject.Circuit.rz_5>`\\ \\(theta\\, "
"which\\_qubit\\)"
msgstr ""
":obj:`rz_5 <paddle_quantum.mbqc.qobject.Circuit.rz_5>`\\ \\(theta\\, "
"which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.rz_5:1
msgid "添加关于 z 轴的旋转门(该旋转门对应的测量模式由五个量子比特构成)。"
msgstr ""
"Add a rotation gate around z-axis (Corresponding to the pattern of 5 "
"qubits)."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ":obj:`s <paddle_quantum.mbqc.qobject.Circuit.s>`\\ \\(which\\_qubit\\)"
msgstr ":obj:`s <paddle_quantum.mbqc.qobject.Circuit.s>`\\ \\(which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.s:1
msgid "添加 ``S`` 门。"
msgstr "Add a ``S`` gate."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ":obj:`t <paddle_quantum.mbqc.qobject.Circuit.t>`\\ \\(which\\_qubit\\)"
msgstr ":obj:`t <paddle_quantum.mbqc.qobject.Circuit.t>`\\ \\(which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.t:1
msgid "添加 ``T`` 门。"
msgstr "Add a ``T`` gate."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ""
":obj:`u <paddle_quantum.mbqc.qobject.Circuit.u>`\\ \\(params\\, "
"which\\_qubit\\)"
msgstr ""
":obj:`u <paddle_quantum.mbqc.qobject.Circuit.u>`\\ \\(params\\, "
"which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.u:1
msgid "添加单量子比特的任意酉门。"
msgstr "Add a single qubit arbitrary unitary gate."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ":obj:`x <paddle_quantum.mbqc.qobject.Circuit.x>`\\ \\(which\\_qubit\\)"
msgstr ":obj:`x <paddle_quantum.mbqc.qobject.Circuit.x>`\\ \\(which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.x:1
msgid "添加 ``Pauli X`` 门。"
msgstr "Add a ``Pauli X`` gate."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ":obj:`y <paddle_quantum.mbqc.qobject.Circuit.y>`\\ \\(which\\_qubit\\)"
msgstr ":obj:`y <paddle_quantum.mbqc.qobject.Circuit.y>`\\ \\(which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.y:1
msgid "添加 ``Pauli Y`` 门。"
msgstr "Add a ``Pauli Y`` gate."

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
msgid ":obj:`z <paddle_quantum.mbqc.qobject.Circuit.z>`\\ \\(which\\_qubit\\)"
msgstr ":obj:`z <paddle_quantum.mbqc.qobject.Circuit.z>`\\ \\(which\\_qubit\\)"

#: of paddle_quantum.mbqc.qobject.Circuit.h:1:<autosummary>:1
#: paddle_quantum.mbqc.qobject.Circuit.z:1
msgid "添加 ``Pauli Z`` 门。"
msgstr "Add a ``Pauli Z`` gate."

#: of paddle_quantum.mbqc.qobject.Circuit.h:3
#: paddle_quantum.mbqc.qobject.Circuit.rx:3
#: paddle_quantum.mbqc.qobject.Circuit.ry:3
#: paddle_quantum.mbqc.qobject.Circuit.rz:3
#: paddle_quantum.mbqc.qobject.Circuit.rz_5:3
#: paddle_quantum.mbqc.qobject.Circuit.s:3
#: paddle_quantum.mbqc.qobject.Circuit.t:3
#: paddle_quantum.mbqc.qobject.Circuit.x:3
#: paddle_quantum.mbqc.qobject.Circuit.y:3
#: paddle_quantum.mbqc.qobject.Circuit.z:3
msgid "其矩阵形式为:"
msgstr "The matrix form is:"

#: of paddle_quantum.mbqc.qobject.Circuit.h:5
msgid "\\frac{1}{\\sqrt{2}}\\begin{bmatrix} 1&1\\\\1&-1 \\end{bmatrix}"
msgstr "\\frac{1}{\\sqrt{2}}\\begin{bmatrix} 1&1\\\\1&-1 \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.h:9
#: paddle_quantum.mbqc.qobject.Circuit.rx:11
#: paddle_quantum.mbqc.qobject.Circuit.ry:11
#: paddle_quantum.mbqc.qobject.Circuit.rz:11
#: paddle_quantum.mbqc.qobject.Circuit.rz_5:11
#: paddle_quantum.mbqc.qobject.Circuit.s:9
#: paddle_quantum.mbqc.qobject.Circuit.t:9
#: paddle_quantum.mbqc.qobject.Circuit.u:13
#: paddle_quantum.mbqc.qobject.Circuit.x:9
#: paddle_quantum.mbqc.qobject.Circuit.y:9
#: paddle_quantum.mbqc.qobject.Circuit.z:9
msgid "作用量子门的量子位编号"
msgstr "Qubit index to apply quantum gate."

#: of paddle_quantum.mbqc.qobject.Circuit.cnot:12
#: paddle_quantum.mbqc.qobject.Circuit.cnot_15:12
#: paddle_quantum.mbqc.qobject.Circuit.cz:12
#: paddle_quantum.mbqc.qobject.Circuit.h:12
#: paddle_quantum.mbqc.qobject.Circuit.rx:14
#: paddle_quantum.mbqc.qobject.Circuit.ry:14
#: paddle_quantum.mbqc.qobject.Circuit.rz:14
#: paddle_quantum.mbqc.qobject.Circuit.rz_5:14
#: paddle_quantum.mbqc.qobject.Circuit.s:12
#: paddle_quantum.mbqc.qobject.Circuit.t:12
#: paddle_quantum.mbqc.qobject.Circuit.u:16
#: paddle_quantum.mbqc.qobject.Circuit.x:12
#: paddle_quantum.mbqc.qobject.Circuit.y:12
#: paddle_quantum.mbqc.qobject.Circuit.z:12
msgid "代码示例:"
msgstr "Code example:"

#: of paddle_quantum.mbqc.qobject.Circuit.x:5
msgid "\\begin{bmatrix} 0 & 1 \\\\ 1 & 0 \\end{bmatrix}"
msgstr "\\begin{bmatrix} 0 & 1 \\\\ 1 & 0 \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.y:5
msgid "\\begin{bmatrix} 0 & -i \\\\ i & 0 \\end{bmatrix}"
msgstr "\\begin{bmatrix} 0 & -i \\\\ i & 0 \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.z:5
msgid "\\begin{bmatrix} 1 & 0 \\\\ 0 & -1 \\end{bmatrix}"
msgstr "\\begin{bmatrix} 1 & 0 \\\\ 0 & -1 \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.s:5
msgid "\\begin{bmatrix} 1&0\\\\0& i \\end{bmatrix}"
msgstr "\\begin{bmatrix} 1&0\\\\0& i \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.t:5
msgid "\\begin{bmatrix} 1&0\\\\0& e^{i\\pi/ 4} \\end{bmatrix}"
msgstr "\\begin{bmatrix} 1&0\\\\0& e^{i\\pi/ 4} \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.rx:5
msgid ""
"\\begin{bmatrix} \\cos\\frac{\\theta}{2} & -i\\sin\\frac{\\theta}{2} \\\\"
" -i\\sin\\frac{\\theta}{2} & \\cos\\frac{\\theta}{2} \\end{bmatrix}"
msgstr ""
"\\begin{bmatrix} \\cos\\frac{\\theta}{2} & -i\\sin\\frac{\\theta}{2} \\\\"
" -i\\sin\\frac{\\theta}{2} & \\cos\\frac{\\theta}{2} \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.rx:9
#: paddle_quantum.mbqc.qobject.Circuit.ry:9
#: paddle_quantum.mbqc.qobject.Circuit.rz:9
#: paddle_quantum.mbqc.qobject.Circuit.rz_5:9
msgid "旋转角度"
msgstr "Rotation angle."

#: of paddle_quantum.mbqc.qobject.Circuit.ry:5
msgid ""
"\\begin{bmatrix} \\cos\\frac{\\theta}{2} & -\\sin\\frac{\\theta}{2} \\\\ "
"\\sin\\frac{\\theta}{2} & \\cos\\frac{\\theta}{2} \\end{bmatrix}"
msgstr ""
"\\begin{bmatrix} \\cos\\frac{\\theta}{2} & -\\sin\\frac{\\theta}{2} \\\\ "
"\\sin\\frac{\\theta}{2} & \\cos\\frac{\\theta}{2} \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.rz:5
#: paddle_quantum.mbqc.qobject.Circuit.rz_5:5
msgid "\\begin{bmatrix} 1 & 0 \\\\ 0 & e^{i\\theta} \\end{bmatrix}"
msgstr "\\begin{bmatrix} 1 & 0 \\\\ 0 & e^{i\\theta} \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.u:3
msgid "与 ``UAnsatz`` 类中的 U3 的三个参数不同,这里的酉门采用 ``Rz Rx Rz`` 分解,"
msgstr ""
"Unlike the U3 gate in ``UAnsatz``,  the decomposition of the unitary gate"
" here is ``Rz Rx Rz``."

#: of paddle_quantum.mbqc.qobject.Circuit.u:5
msgid "其分解形式为:"
msgstr "Its decomposition is:"

#: of paddle_quantum.mbqc.qobject.Circuit.u:7
msgid "U(\\alpha, \\beta, \\gamma) = Rz(\\gamma) Rx(\\beta) Rz(\\alpha)"
msgstr "U(\\alpha, \\beta, \\gamma) = Rz(\\gamma) Rx(\\beta) Rz(\\alpha)"

#: of paddle_quantum.mbqc.qobject.Circuit.u:11
msgid "单比特酉门的三个旋转角度"
msgstr "A list including three rotation angles in the ``Rz Rx Rz`` decomposition."

#: of paddle_quantum.mbqc.qobject.Circuit.cnot:3
#: paddle_quantum.mbqc.qobject.Circuit.cnot_15:3
#: paddle_quantum.mbqc.qobject.Circuit.cz:3
msgid "当 ``which_qubits`` 为 ``[0, 1]`` 时,其矩阵形式为:"
msgstr "If ``which_qubits`` is set to be ``[0, 1]``, the matrix form is:"

#: of paddle_quantum.mbqc.qobject.Circuit.cnot:5
#: paddle_quantum.mbqc.qobject.Circuit.cnot_15:5
msgid ""
"\\begin{bmatrix} 1 & 0 & 0 & 0 \\\\ 0 & 1 & 0 & 0 \\\\ 0 & 0 & 0 & 1 \\\\"
" 0 & 0 & 1 & 0 \\end{bmatrix}"
msgstr ""
"\\begin{bmatrix} 1 & 0 & 0 & 0 \\\\ 0 & 1 & 0 & 0 \\\\ 0 & 0 & 0 & 1 \\\\"
" 0 & 0 & 1 & 0 \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.cnot:9
#: paddle_quantum.mbqc.qobject.Circuit.cnot_15:9
#: paddle_quantum.mbqc.qobject.Circuit.cz:9
msgid "作用量子门的量子位,其中列表第一个元素为控制位,第二个元素为受控位"
msgstr ""
"A list of qubit indexes to apply quantum gate, with the first element "
"being the control qubit and the second element being the target qubit."

#: of paddle_quantum.mbqc.qobject.Circuit.cz:5
msgid ""
"\\begin{bmatrix} 1 & 0 & 0 & 0 \\\\ 0 & 1 & 0 & 0 \\\\ 0 & 0 & 1 & 0 \\\\"
" 0 & 0 & 0 & -1 \\end{bmatrix}"
msgstr ""
"\\begin{bmatrix} 1 & 0 & 0 & 0 \\\\ 0 & 1 & 0 & 0 \\\\ 0 & 0 & 1 & 0 \\\\"
" 0 & 0 & 0 & -1 \\end{bmatrix}"

#: of paddle_quantum.mbqc.qobject.Circuit.measure:3
msgid "与 ``UAnsatz`` 类中的测量不同,除默认的 Z 测量外,此处的测量方式可以由用户自定义,但需要将测量方式与测量比特相对应。"
msgstr ""
"Unlike measurements in class ``UAnsatz``,  measurements here can be "
"customized by users, but the input should be consistent with the "
"measurement qubits."

#: of paddle_quantum.mbqc.qobject.Circuit.measure:7
msgid ""
"此方法只接受三种输入方式: 1. 不输入任何参数,表示对所有的量子位进行 Z 测量; 2. 输入量子位,但不输入测量基,表示对输入的量子位进行 Z"
" 测量; 3. 输入量子位和对应测量基,表示对输入量子位进行指定的测量。 如果用户希望自定义测量基参数,需要注意输入格式为 ``[angle, "
"plane, domain_s, domain_t]``, 且当前版本的测量平面 ``plane`` 只能支持 ``XY`` 或 ``YZ``。"
msgstr ""
"This method only supports three kinds of input: 1. Calling this method "
"without any argument means setting Z-measurements to all qubits in the "
"circuit model; 2. Inputting a qubit index with no measurement basis means"
" setting Z-measurement on the given qubit; 3. Inputting a qubit index "
"with a measurement basis means measuring the qubit in the given basis."

#: of paddle_quantum.mbqc.qobject.Circuit.measure:14
msgid "被测量的量子位"
msgstr "Qubit index to be measured."

#: of paddle_quantum.mbqc.qobject.Circuit.measure:16
msgid "测量方式"
msgstr "Measurement basis."

#: of paddle_quantum.mbqc.qobject.Circuit.is_valid:3
msgid "我们规定输入的量子电路中,每一个量子位上至少作用一个量子门。"
msgstr ""
"We require that at least one quantum gate acts on each qubit of the "
"circuit."

#: of paddle_quantum.mbqc.qobject.Circuit.get_circuit
#: paddle_quantum.mbqc.qobject.Circuit.get_measured_qubits
#: paddle_quantum.mbqc.qobject.Circuit.get_width
#: paddle_quantum.mbqc.qobject.Circuit.is_valid
#: paddle_quantum.mbqc.qobject.Circuit.print_circuit_list
msgid "Returns"
msgstr "Returns"

#: of paddle_quantum.mbqc.qobject.Circuit.is_valid:5
msgid "量子电路是否符合规定的布尔值"
msgstr "The boolean value of the validity of quantum circuit."

#: of paddle_quantum.mbqc.qobject.Circuit.get_circuit
#: paddle_quantum.mbqc.qobject.Circuit.get_measured_qubits
#: paddle_quantum.mbqc.qobject.Circuit.get_width
#: paddle_quantum.mbqc.qobject.Circuit.is_valid
#: paddle_quantum.mbqc.qobject.Circuit.print_circuit_list
msgid "Return type"
msgstr "Return type"

#: of paddle_quantum.mbqc.qobject.Circuit.get_width:3
msgid "量子电路的宽度"
msgstr "Quantum circuit width."

#: of paddle_quantum.mbqc.qobject.Circuit.get_circuit:3
msgid "量子电路列表"
msgstr "A quantum circuit list."

#: of paddle_quantum.mbqc.qobject.Circuit.get_measured_qubits:3
msgid "量子电路中测量的比特位列表"
msgstr "Measurement qubit indices in the quantum circuit."

#: of paddle_quantum.mbqc.qobject.Circuit.print_circuit_list:3
msgid "用来打印的字符串"
msgstr "String to print."

#: of paddle_quantum.mbqc.qobject.Circuit.print_circuit_list:6
msgid "代码示例:"
msgstr "Code example:"