Quantum Gate Visualisation

A few tools to help with the visualization of quantum gates and Bloch vectors
99 Descargas
Actualizado 25 mar 2022

Ver licencia

Based on this contribution, these few files helps understand the Pauli rotations/unitary matrices used in the gates of quantum computing.
The traceGate function is the most useful - call it without arguments for a short animation of the identity HZH |0> = X|0>.
% A bunch of primatives to use
ket0 = [1; 0], ket1 = [0; 1]
bra0 = ket0', bra1 = ket1'
I = eye(2)
X = [0 1; 1 0], Y = [0 -1j; 1j 0], Z = [1 0; 0 -1]
H = 1/sqrt(2)*hadamard(2)
S = [1 0; 0 1j]
T = [1 0; 0 exp(1j*pi/4)]

Citar como

Duncan Barclay (2026). Quantum Gate Visualisation (https://la.mathworks.com/matlabcentral/fileexchange/108689-quantum-gate-visualisation), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2022a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas
Agradecimientos

Inspirado por: Quantum Computing

Versión Publicado Notas de la versión
1.0.0