Skip to content

Commit 5bc8ebd

Browse files
authoredMar 20, 2023
Update Quantum_Utilities.py
Some quantum mechanical functionalities implementation by purely using the Python NumPy package.
1 parent f5ec2f2 commit 5bc8ebd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎Quantum_Utilities.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import numpy as np
22
import functools as ft
33

4+
# TODO : Make the logic for Quantum Teleportation and Entanglement Swapping
5+
46
X = np.array([[0,1], [1,0]]) # Applying a Pauli X gate
57
H = (1/np.sqrt(2))*np.array([[1,1], [1,-1]]) # Applying a Hadamard gate
68
Z = np.array([[1,0], [0,-1]])

0 commit comments

Comments
 (0)