Skip to content

blueqat 1.0.0 - 2022-05-06

Compare
Choose a tag to compare
@minatoyuichiro minatoyuichiro released this 06 May 18:04
· 49 commits to master since this release

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)