Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

基于门的量子计算

基于门的量子计算算法

创建量子门和电路,在本地计算机上对电路进行模拟,并使用 Amazon® Web Services (AWS®) 在远程硬件上运行电路。

quantumCircuitQuantum computing circuit (自 R2023a 起)
quantum.gate.SimpleGateSimple gate for quantum computing (自 R2023a 起)
quantum.gate.CompositeGateComposite gate for quantum computing (自 R2023a 起)
quantum.gate.QuantumStateState of qubits in quantum circuit (自 R2023a 起)
quantum.gate.QuantumMeasurementMeasurement result of quantum circuit (自 R2023a 起)
quantum.backend.QuantumDeviceAWSQuantum device available through AWS (自 R2023a 起)
quantum.backend.QuantumTaskAWSTask sent to AWS for execution on quantum device (自 R2023a 起)

属性

QuantumCircuitChart PropertiesQuantum circuit plot appearance and behavior (自 R2023b 起)

函数

全部展开

一个目标量子位上的门

hGateHadamard gate (自 R2023a 起)
idGateIdentity gate (自 R2023a 起)
xGatePauli X gate (自 R2023a 起)
yGatePauli Y gate (自 R2023a 起)
zGatePauli Z gate (自 R2023a 起)

旋转门

rxGatex-axis rotation gate (自 R2023a 起)
ryGatey-axis rotation gate (自 R2023a 起)
rzGatez-axis rotation gate (自 R2023a 起)
r1Gatez-axis rotation gate with global phase (自 R2023a 起)
sGateS gate (自 R2023a 起)
siGateInverse S gate (自 R2023a 起)
tGateT gate (自 R2023a 起)
tiGateInverse T gate (自 R2023a 起)

具有一个控制量子位和一个目标量子位的门

chGateControlled Hadamard gate (自 R2023a 起)
cnotGateCNOT gate (controlled X gate) (自 R2023a 起)
cxGateControlled X gate (CNOT gate) (自 R2023a 起)
cyGateControlled Y gate (自 R2023a 起)
czGateControlled Z gate (自 R2023a 起)

交换两个量子位状态的门

swapGateSwap gate (自 R2023a 起)

受控旋转门

crxGateControlled x-axis rotation gate (自 R2023a 起)
cryGateControlled y-axis rotation gate (自 R2023a 起)
crzGateControlled z-axis rotation gate (自 R2023a 起)
cr1GateControlled z-axis rotation gate with global phase (自 R2023a 起)

受控 X 门

ccxGateControlled controlled X gate (CCNOT or Toffoli gate) (自 R2023a 起)

伊辛耦合门

rxxGateIsing XX coupling gate (自 R2023a 起)
ryyGateIsing YY coupling gate (自 R2023a 起)
rzzGateIsing ZZ coupling gate (自 R2023a 起)

复合门和专用门

compositeGateConstruct composite gate for quantum computing (自 R2023a 起)
qftGateQuantum Fourier transform gate (自 R2023a 起)
mcxGateMulti-controlled X gate (自 R2023a 起)

主题