Saturday, June 1, 2024

Initiating

 Here it is: what is needed to initialize and run a circuit in qiskit. Note how

numpy integrates!! the .T command transposed an array from row to colunm.

                                                                  







*     *     *

One can, as well, initiate a circuit with probabilities:

                                                                       



*     *     *

The sequence HZH creates what is, effectively, an x-gate:


X = HZH
                                                                

                     

No comments: