4. Use Lagrange multiplier method to solve the following constraint
optimization problem: find a point on a circle
x
12 + x
22 = 4 which is
the furthest away from the point (3, 4). Use the Lagrange
multiplier method to explain the gradient descent method -- the
main method used for training neural networks.
5. Explain why deep neural networks are more efficient than
traditional ones. Explain, in detail, why for deep neural networks,
the activation function should be piece-wise linear. Explain why we
cannot have c
− = c
+.
6. What practical problem is solved by the Deutsch-Josza algorithm?
Explain, step-by-step, what this algorithm will do when the tested
function is f(x) = not x.
7. Explain, step-by-step, how RSA algorithm will encode the message
m = 6. Assume that the two prime numbers are p = 5 and q = 7, and
that the public number e which has no common divisors with (p
− 1)(q − 1) = 24 is e = 5. Find the secret code d and
use it to decode the message.
8. Explain, step-by-step, how quantum cryptography works.