You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a proposal to add the ability to specify an initial state when declaring a qubit.
C++
We add new constructors to qubit and qvector to take a initializer_list or vector<complex<double>> that is $2^N$double values in length and where $N$ is the number of qubit in the qvector object. (qubit would be restricted to 2 double values.
This is a proposal to add the ability to specify an initial state when declaring a qubit.
C++
We add new constructors to$2^N$ $N$ is the number of qubit in the
qubit
andqvector
to take ainitializer_list
orvector<complex<double>>
that isdouble
values in length and whereqvector
object. (qubit
would be restricted to 2double
values.New constructors
Some examples in a CUDA Quake kernel might be the following.
New builder method
When using the builder the builder would be called as in the following.
Python
The Python builder would be similar as in the following.
See #1090
The text was updated successfully, but these errors were encountered: