Closed ACE07-Sev closed 5 months ago
Hello @ACE07-Sev,
The Circuit.set_state()
method simply sets the state vector (or matrix) to the requested value directly. It's used by the simulator and can be used as a way of running simulations with arbitrary initial states. State preparations routines, such as Möttönen State Preparation etc., aren't yet supported.
I see. Thank you for the update!
Greetings D-Wave team,
Hope all are well. I am quite new to this module, and I am trying to see how one can prepare an arbitrary state using
dwave.gate
. I can see that you can use.set_state
(if I recall the method name correctly), but it doesn't show the algorithm used for creating the circuit to prepare the state.Can you kindly point me to where this is explored?