iitis / PyQBench

Apache License 2.0
4 stars 3 forks source link

Implement V0 and V1 decompositions #5

Closed dexter2206 closed 2 years ago

dexter2206 commented 2 years ago

This implements decompositions of V0 and V1 (from our note) into gates native to braket. Both decompositions have a version that doesn't preserve the global phase, which saves two gates and can be used if V0 or V1 is not used for constructing a controlled gate.