371 B
371 B
Quantum Computer in Python from first principles
- Reinvent how to multiply matrices
- Present qbits and gates as matrices
- Override multiplication for qbits to be tensor multiplication and for gates to be matrix (TODO: why??)
- Test basic operations such as Identity matrix, Pauli gates, creating superposition with Hadamard, creating entanglement with CNOT.