From 4b97085a1969a4e7213a5608c8eeb737ecd382db Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 16 Nov 2023 16:58:17 +0000 Subject: [PATCH] Update documentation from github actions --- qrbs/genindex.html | 22 +++++++- qrbs/index.html | 2 +- qrbs/modules.html | 13 ++++- qrbs/neasqc_qrbs.html | 113 +++++++++++++++++++++++++++++++++++++++++- qrbs/objects.inv | Bin 1880 -> 2024 bytes qrbs/py-modindex.html | 2 +- qrbs/search.html | 2 +- qrbs/searchindex.js | 2 +- 8 files changed, 149 insertions(+), 7 deletions(-) diff --git a/qrbs/genindex.html b/qrbs/genindex.html index ca36301..672c9fa 100644 --- a/qrbs/genindex.html +++ b/qrbs/genindex.html @@ -38,7 +38,7 @@
- 0.1.1 + 0.2.0
@@ -171,6 +171,8 @@

B

  • build_and() (neasqc_qrbs.knowledge_rep.Builder static method)
      +
    • (neasqc_qrbs.knowledge_rep.BuilderBayes static method) +
    • (neasqc_qrbs.knowledge_rep.BuilderFuzzy static method)
    • (neasqc_qrbs.knowledge_rep.BuilderImpl static method) @@ -179,6 +181,8 @@

      B

    • build_fact() (neasqc_qrbs.knowledge_rep.Builder static method)
        +
      • (neasqc_qrbs.knowledge_rep.BuilderBayes static method) +
      • (neasqc_qrbs.knowledge_rep.BuilderFuzzy static method)
      • (neasqc_qrbs.knowledge_rep.BuilderImpl static method) @@ -187,6 +191,8 @@

        B

      • build_island() (neasqc_qrbs.knowledge_rep.Builder static method)
          +
        • (neasqc_qrbs.knowledge_rep.BuilderBayes static method) +
        • (neasqc_qrbs.knowledge_rep.BuilderFuzzy static method)
        • (neasqc_qrbs.knowledge_rep.BuilderImpl static method) @@ -197,6 +203,8 @@

          B

        • build_not() (neasqc_qrbs.knowledge_rep.Builder static method)
            +
          • (neasqc_qrbs.knowledge_rep.BuilderBayes static method) +
          • (neasqc_qrbs.knowledge_rep.BuilderFuzzy static method)
          • (neasqc_qrbs.knowledge_rep.BuilderImpl static method) @@ -205,6 +213,8 @@

            B

          • build_or() (neasqc_qrbs.knowledge_rep.Builder static method)
          • +
          • BuilderBayes +
          • BuilderFuzzy
            • BuilderFuzzy.build_and()
            • BuilderFuzzy.build_fact()
            • @@ -176,6 +186,7 @@

              neasqc_qrbsMyQlmQPU
                +
              • MyQlmQPU.BUILDERS
              • MyQlmQPU.MAX_ARITY
              • MyQlmQPU.evaluate()
              • MyQlmQPU.execute()
              • diff --git a/qrbs/neasqc_qrbs.html b/qrbs/neasqc_qrbs.html index f2f62c0..3ca0818 100644 --- a/qrbs/neasqc_qrbs.html +++ b/qrbs/neasqc_qrbs.html @@ -40,7 +40,7 @@
                - 0.1.1 + 0.2.0
                @@ -59,6 +59,7 @@
              • AndOperator
              • Buildable
              • Builder
              • +
              • BuilderBayes
              • BuilderFuzzy
              • BuilderImpl
              • Fact
              • @@ -262,6 +263,111 @@

                Submodules +
                +class neasqc_qrbs.knowledge_rep.BuilderBayes
                +

                Bases: Builder

                +

                Implementation of Builder interface for the bayesian model.

                +
                +
                +CRY = 'CRY'
                +
                + +
                +
                +static build_and() qat.lang.AQASM.QRoutine
                +

                Builds the quantum routine of an and operator.

                +
                +
                Returns:
                +

                The corresponding quantum routine.

                +
                +
                Return type:
                +

                QRoutine

                +
                +
                +
                + +
                +
                +static build_fact(fact) qat.lang.AQASM.QRoutine
                +

                Builds the quantum routine of a fact.

                +
                +
                Parameters:
                +

                fact (Fact) – The Fact whose quantum routine is being built.

                +
                +
                Returns:
                +

                The corresponding quantum routine.

                +
                +
                Return type:
                +

                QRoutine

                +
                +
                +
                + +
                +
                +static build_island(island) Tuple[qat.lang.AQASM.QRoutine, Dict[LeftHandSide, int]]
                +

                Builds the quantum routine of a knowledge island.

                +
                +
                Parameters:
                +

                island (KnowledgeIsland) – The KnowledgeIsland whose quantum routine is being built.

                +
                +
                Returns:
                +

                A tuple containing the corresponding quantum routine and the index of which qubit corresponds to each LeftHandSide element.

                +
                +
                Return type:
                +

                Tuple[QRoutine, Dict[LeftHandSide, int]]

                +
                +
                +
                + +
                +
                +static build_not() qat.lang.AQASM.QRoutine
                +

                Builds the quantum routine of a not operator.

                +
                +
                Returns:
                +

                The corresponding quantum routine.

                +
                +
                Return type:
                +

                QRoutine

                +
                +
                +
                + +
                +
                +static build_or() qat.lang.AQASM.QRoutine
                +

                Builds the quantum routine of an or operator.

                +
                +
                Returns:
                +

                The corresponding quantum routine.

                +
                +
                Return type:
                +

                QRoutine

                +
                +
                +
                + +
                +
                +static build_rule(rule) qat.lang.AQASM.QRoutine
                +

                Builds the quantum routine of a rule.

                +
                +
                Parameters:
                +

                rule (Rule) – The Rule whose quantum routine is being built.

                +
                +
                Returns:
                +

                The corresponding quantum routine.

                +
                +
                Return type:
                +

                QRoutine

                +
                +
                +
                + +
                +
                class neasqc_qrbs.knowledge_rep.BuilderFuzzy
                @@ -764,6 +870,11 @@

                Submodulesclass neasqc_qrbs.qrbs.MyQlmQPU

                Bases: QPU

                myQLM implementation of a Quantum Processing Unit (QPU).

                +
                +
                +BUILDERS = {'bayes': <class 'neasqc_qrbs.knowledge_rep.BuilderBayes'>, 'cf': <class 'neasqc_qrbs.knowledge_rep.BuilderImpl'>, 'fuzzy': <class 'neasqc_qrbs.knowledge_rep.BuilderFuzzy'>}
                +
                +
                MAX_ARITY = 20
                diff --git a/qrbs/objects.inv b/qrbs/objects.inv index b0467106a5e1baeae75a4e9cc91b18de8f661dbb..5678a9a4271175b06afd6bae039c975094b35802 100644 GIT binary patch delta 1916 zcmV-?2ZQ+74(Jb%N&_-3Fp*6=e_Km)oH!7^`&Uqvy+Yz^Zgw`VxHgm6Gn>lhG{u1I zVa;PKU=#A|7bIZBV?g~l*kuo2fBIT#8foZGg`d9$`&W6$om2Hb$-*)g&O0YPf9@TN zBz~i>xPLhAm3i$Y&3?urd=`5tPILzECJn!yg!GF{Hf%xc=ect|C9`Jne-337hf0|! zj#)?}i^Ws14~{LPUlcMrl!c&?%INvX!+P8J>L2R)$Io5QL7zEAB_vghXcuwsryO!x zvL`<%_}HR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