Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions QQuantLib/AE/ae_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from QQuantLib.AE.extended_real_quantum_ae import eRQAE
from QQuantLib.AE.modified_real_quantum_ae import mRQAE
from QQuantLib.AE.montecarlo_ae import MCAE
from QQuantLib.AE.bayesian_ae import BAYESQAE
from QQuantLib.utils.utils import text_is_none

class AE:
Expand Down Expand Up @@ -172,6 +173,13 @@ def create_ae_solver(self):
index=self.index,
**self.solver_dict
)
elif self.ae_type == "BAYESQAE":
self.solver_ae = BAYESQAE(
self.oracle,
target=self.target,
index=self.index,
**self.solver_dict
)
else:
raise ValueError("AE algorithm IS NOT PROVIDED in ae_type parameter \
Please use: MLAE, CQPEAE, IQPEAE, IQAE, RQAE")
Expand Down
Loading
Loading