-
Notifications
You must be signed in to change notification settings - Fork 53
Experimental features
Takumi Kato edited this page Feb 6, 2020
·
9 revisions
Immutable operations.
from blueqat import Circuit
from blueqat.experimental import Ops
c = Circuit().x[0]
d = Ops().x[0]
c2 = c.z[0]
d2 = d.z[0]
print(c) # => Circuit(1).x[0].z[0]
print(d) # => Ops(1).x[0]
- Add some new macros
- Decorator for register_macro
from blueqat.experimental.macros import def_macro
@def_macro
def foo(c, arg):
pass
# is equivalent with
def foo(c, arg):
pass
BlueqatGlobalSetting.register_macro('foo', foo)
Enhanced blueqat.vqe module. It will replace current blueqat.vqe module.
Planned features:
- Sampler with run options likes backend selection.
- Picklabel objective function for multiprocessing.
- Better Hamiltonian separation strategy.
- Refactoring for giving additional information (likes molecular data) to optimizer.