Question
Consider running Simons algorithm on the following function acting on 3 bits: f(000) = 000 f(001) = 001 f(010) = 010 f(011) = 011 f(100)
Consider running Simons algorithm on the following function acting on 3 bits: f(000) = 000 f(001) = 001 f(010) = 010 f(011) = 011 f(100) = 011 f(101) = 010 f(110) = 001 f(111) = 000 (a) What is the period a? (b) What is the state after the first set of Hadamards? (c) What is the state after applying the function f(x) ? (d) When the output register is measured, if the outcome is 001, what is the state of the input register? (e) What is the state after the second set of Hadamards? (f) When the input register is measured the outcome is 011. When the algorithm is run again, a measurement of the input register yields 101. Show how to determine the period a from these two outcomes.
1. Consider running Simon's algorithm on the following function acting on 3 bits f(000) = 000 f(001) 001 f010-010 f(011)-011 f(100) 011 f(101) 010 f(110) = 001 f(111)=000 (a) What is the period a? (b) What is the state after the first set of Hadamards? (c) What is the state after applying the function f(x)? (d) When the output register is measured, if the outcome is 001, what is the state of the input register? (e) What is the state after the second set of Hadamards? (f) When the input register is measured the outcome is 011. When the algorithm is run again, a measurement of the input register yields 101. Show how to determine the period a from these two outcomes 1. Consider running Simon's algorithm on the following function acting on 3 bits f(000) = 000 f(001) 001 f010-010 f(011)-011 f(100) 011 f(101) 010 f(110) = 001 f(111)=000 (a) What is the period a? (b) What is the state after the first set of Hadamards? (c) What is the state after applying the function f(x)? (d) When the output register is measured, if the outcome is 001, what is the state of the input register? (e) What is the state after the second set of Hadamards? (f) When the input register is measured the outcome is 011. When the algorithm is run again, a measurement of the input register yields 101. Show how to determine the period a from these two outcomesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started