"Inintialize" function for a group of qbit? #27
-
Is there a way to setup the state of several qbits with initial state? Something like the Initialise() method of qiskit? For example in qiskit: circuit = QuantumCircuit(2) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hello Mr. Gagnon, |
Beta Was this translation helpful? Give feedback.
Hello Mr. Gagnon,
At the start of the circuit, the qubits are in the ground state |00....0>. There are currently no functions to initialize the qubits in a different state. For the moment, you need to apply the gates which are available in Snowflake to reach that state. A function that determines which gates must be applied to reach a desired state may be implemented in the near future.