Skip to content

Commit

Permalink
Merge pull request #1092 from qiboteam/matrices
Browse files Browse the repository at this point in the history
Inclusion of all cached gate matrices into ``QiboMatrices``
  • Loading branch information
renatomello authored Nov 16, 2023
2 parents 8194acb + 3d8560f commit b11a209
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/qibo/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ def create(self, dtype):
self.SDG = self.matrices.SDG
self.CNOT = self.matrices.CNOT
self.CZ = self.matrices.CZ
self.CSX = self.matrices.CSX
self.CSXDG = self.matrices.CSXDG
self.SWAP = self.matrices.SWAP
self.iSWAP = self.matrices.iSWAP
self.FSWAP = self.matrices.FSWAP
self.ECR = self.matrices.ECR
self.SYC = self.matrices.SYC
self.TOFFOLI = self.matrices.TOFFOLI


matrices = QiboMatrices()
Expand Down

0 comments on commit b11a209

Please sign in to comment.