Skip to content

Commit

Permalink
naming updates and restructiring; added for completeness on this bran…
Browse files Browse the repository at this point in the history
…ch history
  • Loading branch information
gvelikova committed Oct 23, 2023
1 parent 64e16ba commit 5af37d2
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
4 changes: 2 additions & 2 deletions qadence/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .blocks import *
from .circuit import *
from .constructors import *
from .errors import *
from .exceptions import *
from .execution import *
from .measurements import *
from .ml_tools import *
Expand Down Expand Up @@ -43,7 +43,7 @@
".blocks",
".circuit",
".constructors",
".errors",
".exceptions",
".execution",
".measurements",
".ml_tools",
Expand Down
6 changes: 0 additions & 6 deletions qadence/errors/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
from __future__ import annotations

from .errors import NotPauliBlockError, NotSupportedError, QadenceException

# Modules to be automatically added to the qadence namespace
__all__ = [] # type: ignore
13 changes: 13 additions & 0 deletions qadence/noise.py → qadence/errors/readout_error.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@


# uniform incorporation of noise (make sure counting is correct as discussed with Roland)
# add suggestions on shot noise (gaussian and poisson -
# what is the best way to incorporate these in comparison to uniform)?
# add to backend
# use measurements architecture
# check circ, qiskit, tket, pennylane noise models
# add proper citations where needed
# remove from quantum_model as this is not general enough!
# tests!!


from __future__ import annotations

from abc import ABC, abstractmethod
Expand Down
6 changes: 6 additions & 0 deletions qadence/exceptions/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from __future__ import annotations

from .errors import NotPauliBlockError, NotSupportedError, QadenceException

# Modules to be automatically added to the qadence namespace
__all__ = [] # type: ignore
File renamed without changes.

0 comments on commit 5af37d2

Please sign in to comment.