First of all i apologyse for any error i have, english is not my native lenguage.
Ok so i must implement quantum teleportation in python without using any quantum library, just with linear algebra, i already implement a way to get Hadamard and PauliX, im struggling to get the CNOT gate between q1 and q2 and the CNOT gate between q0 and q1, also i need a way to measure the final result as in the image, i already know the CNOT gate is a 8*8 matrix, and in another post i could see what that matrix is, but i dont know the steps to get that matrix, also as a plus, i need to implement cz gate too.