1
$\begingroup$

I used this method to initialize classical data in a circuit. I would like to know what's under the hood and the complexity of this procedure, but I can't find anything on the internet which suits my thoughts.

The procedure is this: https://qiskit.org/documentation/locale/bn_BN/stubs/qiskit.circuit.library.StatePreparation.html

I tried to read the reference, but I'm from a computer science degree and it is over my competences :(, if there is someone which could explain it in simpler terms, I am open to chat.

Thanks to all

$\endgroup$
1
  • $\begingroup$ Hi everyone! I solved this by using trappole function on qiskit routine. It shows the circuit in native gates. Thanks to all. $\endgroup$ Aug 7, 2022 at 12:00

1 Answer 1

1
$\begingroup$

You can look into MottonenStatePreparation circuit in pennylane library. It also uses amplitude encoding to encode classical information onto quantum circuits.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.