Main Content

La traduzione di questa pagina non è aggiornata. Fai clic qui per vedere l'ultima versione in inglese.

Calcolo quantistico

Algoritmi di calcolo quantistico basati su porte

Il pacchetto di supporto di MATLAB® per il calcolo quantistico consente di creare prototipi di algoritmi quantistici basati su porte. È possibile assemblare le porte quantistiche in un circuito quantistico, simulare circuiti sul computer locale ed eseguire circuiti su hardware remoto utilizzando Amazon® Web Services (AWS®).

Per installare il pacchetto di supporto di MATLAB per il calcolo quantistico, individuare il componente complementare in Add-On Explorer seguendo le istruzioni in Get and Manage Add-Ons.

Classi

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

Funzioni

espandi tutto

Porte su un qubit di destinazione

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

Porte di rotazione

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

Porte con un qubit di controllo e uno di destinazione

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

Scambio dello stato tra due qubit

swapGateSwap gate (Da R2023a)

Porte di rotazione controllate

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

Porta X controllata

ccxGateControlled controlled X gate (CCNOT or Toffoli gate) (Da R2023a)

Porte di accoppiamento Ising

rxxGateIsing XX coupling gate (Da R2023a)
ryyGateIsing YY coupling gate (Da R2023a)
rzzGateIsing ZZ coupling gate (Da R2023a)

Porte composite e specializzate

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

Argomenti