Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

quantum computing Q.4 (Qiskit 10 pts.) Submit this question as a separate Jupyter notebook file. Implement in Qiskit the following circuit for the function f:Z4Z22

quantum computing
image text in transcribed
Q.4 (Qiskit 10 pts.) Submit this question as a separate Jupyter notebook file. Implement in Qiskit the following circuit for the function f:Z4Z22 defined by f(0)=f(2)=(0,0)andf(1)=f(3)=(0,1). Run your algorithm 128 times and plot the greatest common divisor gcd(xi,xi+1) of the i-th and the (i+1)-th outcome for odd i 's. (By Q.3 part (a) we expect with high probability gcd(xi,xi+1)=1 and part (b) can be used to extract the period 2 from your data.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Privacy In Statistical Databases International Conference Psd 2022 Paris France September 21 23 2022 Proceedings Lncs 13463

Authors: Josep Domingo-Ferrer ,Maryline Laurent

1st Edition

3031139445, 978-3031139444

More Books

Students also viewed these Databases questions