Chapter 13 – Understanding Quantum Utility and Qiskit Patterns
Question 1
What are the four steps of Qiskit Patterns?
Answer
Map, optimize, execute, and post-process.
Question 2
Which Qiskit Pattern handles mapping a quantum circuit to the hardware?
Answer
The optimization step handles mapping the circuit to the hardware.
Question 3
When encoding your problem to a quantum state, which Qiskit Pattern step are you on?
Answer
You are mapping the input values of your classical data into a quantum state.
Question 4
Why did we use a Sampler and not an Estimator primitive for the Grover example?
Answer
We did not have to use any observables to solve Grover’s algorithm. Simply returning the quasi-distribution of the results provided the answer.