Loading picos/expressions/exp_renyientr.py +2 −2 Original line number Diff line number Diff line Loading @@ -590,7 +590,7 @@ class QuasiEntropy(BaseQuasiEntropy): raise TypeError("The exponent alpha must be a scalar in [-1, 2]") def _get_strings(self): typeStr = "Trace Renyi Entropy" typeStr = "Quasi-Relative Entropy" xStr = glyphs.power(self._X.string, "a") yStr = glyphs.power(self._Y.string, "1-a") symbStr = glyphs.trace(glyphs.mul(xStr, yStr)) Loading Loading @@ -666,7 +666,7 @@ class SandQuasiEntropy(BaseQuasiEntropy): raise TypeError("The exponent alpha must be a scalar in [1/2, 2]") def _get_strings(self): typeStr = "Trace Sandwiched Renyi Entropy" typeStr = "Sandwiched Quasi-Relative Entropy" xStr = self._X.string yStr = glyphs.power(self._Y.string, "(1-a)/2a") symbStr = glyphs.power(glyphs.mul(glyphs.mul(yStr, xStr), yStr), "a") Loading qics/cones/symmetric/__init__.pydeleted 100644 → 0 +0 −25 Original line number Diff line number Diff line # Copyright (c) 2024, Kerry He, James Saunderson, and Hamza Fawzi # This Python package QICS is licensed under the MIT license; see LICENSE.md # file in the root directory or at https://github.com/kerry-he/qics # __init__.py from qics.cones.symmetric.nonnegorthant import NonNegOrthant # noqa from qics.cones.symmetric.possemidefinite import PosSemidefinite # noqa from qics.cones.symmetric.secondorder import SecondOrder # noqa from qics.cones.entropy.classentr import ClassEntr # noqa from qics.cones.entropy.classrelentr import ClassRelEntr # noqa from qics.cones.entropy.quantentr import QuantEntr # noqa from qics.cones.entropy.quantrelentr import QuantRelEntr # noqa from qics.cones.entropy.quantcondentr import QuantCondEntr # noqa from qics.cones.entropy.quantkeydist import QuantKeyDist # noqa from qics.cones.perspective.opperspectr import OpPerspecTr # noqa from qics.cones.perspective.opperspecepi import OpPerspecEpi # noqa from qics.cones.renyi.renyientr import RenyiEntr # noqa from qics.cones.renyi.sandrenyientr import SandRenyiEntr # noqa from qics.cones.renyi.quasientr import QuasiEntr # noqa from qics.cones.renyi.sandquasientr import SandQuasiEntr # noqa Loading
picos/expressions/exp_renyientr.py +2 −2 Original line number Diff line number Diff line Loading @@ -590,7 +590,7 @@ class QuasiEntropy(BaseQuasiEntropy): raise TypeError("The exponent alpha must be a scalar in [-1, 2]") def _get_strings(self): typeStr = "Trace Renyi Entropy" typeStr = "Quasi-Relative Entropy" xStr = glyphs.power(self._X.string, "a") yStr = glyphs.power(self._Y.string, "1-a") symbStr = glyphs.trace(glyphs.mul(xStr, yStr)) Loading Loading @@ -666,7 +666,7 @@ class SandQuasiEntropy(BaseQuasiEntropy): raise TypeError("The exponent alpha must be a scalar in [1/2, 2]") def _get_strings(self): typeStr = "Trace Sandwiched Renyi Entropy" typeStr = "Sandwiched Quasi-Relative Entropy" xStr = self._X.string yStr = glyphs.power(self._Y.string, "(1-a)/2a") symbStr = glyphs.power(glyphs.mul(glyphs.mul(yStr, xStr), yStr), "a") Loading
qics/cones/symmetric/__init__.pydeleted 100644 → 0 +0 −25 Original line number Diff line number Diff line # Copyright (c) 2024, Kerry He, James Saunderson, and Hamza Fawzi # This Python package QICS is licensed under the MIT license; see LICENSE.md # file in the root directory or at https://github.com/kerry-he/qics # __init__.py from qics.cones.symmetric.nonnegorthant import NonNegOrthant # noqa from qics.cones.symmetric.possemidefinite import PosSemidefinite # noqa from qics.cones.symmetric.secondorder import SecondOrder # noqa from qics.cones.entropy.classentr import ClassEntr # noqa from qics.cones.entropy.classrelentr import ClassRelEntr # noqa from qics.cones.entropy.quantentr import QuantEntr # noqa from qics.cones.entropy.quantrelentr import QuantRelEntr # noqa from qics.cones.entropy.quantcondentr import QuantCondEntr # noqa from qics.cones.entropy.quantkeydist import QuantKeyDist # noqa from qics.cones.perspective.opperspectr import OpPerspecTr # noqa from qics.cones.perspective.opperspecepi import OpPerspecEpi # noqa from qics.cones.renyi.renyientr import RenyiEntr # noqa from qics.cones.renyi.sandrenyientr import SandRenyiEntr # noqa from qics.cones.renyi.quasientr import QuasiEntr # noqa from qics.cones.renyi.sandquasientr import SandQuasiEntr # noqa