Skip to main content
6 events
when toggle format what by license comment
Oct 9, 2021 at 7:23 comment added epelaez @jecado the initialize method can be decomposed, although it is a non-unitary Instruction since it contains resets at the beginning, but these can be removed when sending the circuit to a real device since anyways the initial state of the hardware is the ground state. But yes, there are definitely more efficient methods depending on the exact algorithm they are developing.
Oct 8, 2021 at 19:49 history became hot network question
Oct 8, 2021 at 17:47 comment added jecado Beware that the initialize method probably simply initializes the simulator with the statevector you give it. I doubt it implements the requisite circuit at all, and you shouldn't rely upon it when developing an algorithm for use in quantum hardware.
Oct 8, 2021 at 12:15 answer added epelaez timeline score: 5
Oct 8, 2021 at 11:49 answer added DaftWullie timeline score: 7
Oct 8, 2021 at 11:45 history asked Roberto Schiattarella CC BY-SA 4.0