Figure 1.

Figure 2.

Figure 3.

Figure 4.

Figure 5.

Figure 6.

Figure 7.

Figure 8.

Relative errors, ϵc and ϵ for n = 3, 4 and 5 qubit cases_
| the number of qubits | the relative error ϵc | the relative error ϵq |
|---|---|---|
| 3 qubits | 7.8455 × 10−4 | 7.8478 × 10−4 |
| 4 qubits | 2.2014 × 10−4 | 2.2027 × 10−4 |
| 5 qubits | 5.8441 × 10−5 | 4.4997 × 10−4 |