Skip to content

Commit

Permalink
Merge pull request #13 from danmohedano/dev
Browse files Browse the repository at this point in the history
Final changes for version 1.1
  • Loading branch information
danmohedano authored May 9, 2022
2 parents d7d9716 + 16c4d85 commit f3e0738
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ sklearn
jinja2<3.1.0
qiskit
qiskit[visualization]
numpy
numpy
docutils<0.17
2 changes: 1 addition & 1 deletion docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Changelog
.. toctree::
:caption: Versions

releases/v1_2
releases/v1_1
releases/v1_0_1
releases/v1_0
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
'sphinx.ext.intersphinx',
]

autodoc_default_flags = ['members', 'inherited-members']
autoclass_content = 'both'
doctest_global_setup = '''
import numpy as np
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 1.2
Version 1.1
==============

Changes:
Expand Down
2 changes: 1 addition & 1 deletion skqlearn/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.2'
__version__ = '1.1'
3 changes: 2 additions & 1 deletion skqlearn/encoding/qsample_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ class QSampleEncoding(Encoding):
amplitude vector of a quantum state, defining the encoding feature map as:
.. math::
\phi:p(x)\rightarrow \ket{p(x)}=\sum_{X} \sqrt{p(x_i)}\ket{x_i}
\phi:p(x)\rightarrow \left|p(x)\right> =\sum_{X} \sqrt{p(x_i)}
\left|x_i\right>
Because the amplitudes are defined as :math:`\alpha_i = \sqrt{p(x_i)}`,
the resulting quantum state is valid:
Expand Down
3 changes: 2 additions & 1 deletion tutorials/plot_encodings.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@
# amplitude vector of a quantum state, defining the encoding feature map as:
#
# .. math::
# \phi:p(x)\rightarrow \ket{p(x)}=\sum_{X} \sqrt{p(x_i)}\ket{x_i}
# \phi:p(x)\rightarrow \left|p(x)\right>=\sum_{X} \sqrt{p(x_i)}
# \left|x_i\right>
#
# Because the amplitudes are defined as :math:`\alpha_i = \sqrt{p(x_i)}`,
# the resulting quantum state is valid:
Expand Down

0 comments on commit f3e0738

Please sign in to comment.