blueqat 1.0.0 - 2022-05-06
Added backend for tensor network
The backend of blueqat will be changed to tensor network in the near future. Now try specifying the back end as "quimb".
from blueqat import Circuit
Circuit(50).h[:].run(backend="quimb")
Get the single amplitude
Circuit(4).h[:].run(backend="quimb", amplitude="0101")
Get the sample
Circuit(4).h[:].run(backend="quimb", shots=100)
Get the expectation value of hamiltonian
from blueqat.pauli import Z
hamiltonian = 1*Z[0]+1*Z[1]
Circuit(4).x[:].run(backend="quimb", hamiltonian=hamiltonian)