Skip to content

Commit

Permalink
add ccz gate
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Mar 21, 2024
1 parent 5af6429 commit 82a0bf0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qibojit/backends/matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ def CU3(self, theta, phi, lam):
def TOFFOLI(self):
return self.X

@cached_property
def CCZ(self):
return self.Z

Check warning on line 65 in src/qibojit/backends/matrices.py

View check run for this annotation

Codecov / codecov/patch

src/qibojit/backends/matrices.py#L65

Added line #L65 was not covered by tests

def DEUTSCH(self, theta):
return 1j * self.RX(2 * theta)

Expand Down

0 comments on commit 82a0bf0

Please sign in to comment.