Releases: tiago939/QuForge
Version 0.1.13 released
This version fixes a problem when specifying manually the angle parameters of the rotation gates. Now these gates receives explicitly the number of qudits (wires) of the circuit.
Additionally, we have implemented a experimental gate called "Universal Gate", that parameterize the entire Hilbert space, allowing building highly expressive circuits. You can use it stand alone as:
U = qf.U(dim=dim, wires=wires)
or inside a circuit, for instance:
circuit = qf.Circuit(dim=2, wires=3)
circuit.U()
state = qf.State('0-0-0')
circuit(state)
Version 0.1.12 released
This version fixes a problem in the measurement function, now it needs the number of qudits as the argument.
Before:
histogram, p = qf.measure(state=yourstate, dim=dim)
After:
histogram, p = qf.measure(state=yourstate, dim=dim, wires=wires)
Additionally, we fixed a typo in the docs.
Before:
import quforge as qf
Now it reads:
import quforge.quforge as qf
v0.1.1
We moved the library to PyPi package, you can now install it with pip!
pip install quforge
Other changes:
-
Changed license to Apache 2
-
Added some non-linear PyTorch functions. For instance, you can call the hyperbolic tangent as:
import quforge.quforge as qf
tanh = qf.Tanh()
y = tanh(x)
- A few updates on the documentation quforge.readthedocs.io