Tensor, TensorFlow, Machine Learning, Quantum Computing.
b=b.reshape((2,2,2)) print(b) We can just access the amplitude by running: v[0,1,1] So how using tensors is a boon in reducing time complexity? Let say we want to compute U|𝛹> = |𝛷> where 𝛹 being the initial qubit state and U is applied to 2 qubits (being a 2 qubit gate). Let the initial state is a