Skip to content

Commit

Permalink
Merge pull request #1062 from qiboteam/fixsphinxcompilation
Browse files Browse the repository at this point in the history
Fix sphinx compilation warnings/errors
  • Loading branch information
scarrazza authored Oct 27, 2023
2 parents 8af052b + 6e7bbde commit 700d609
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
7 changes: 4 additions & 3 deletions doc/source/api-reference/qibo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -757,9 +757,10 @@ U1q
.. note::
The other Quantinuum single-qubit and two-qubit native gates are
implemented in Qibo as:
- Pauli-:math:`Z` rotation: :class:`qibo.gates.RZ`
- Arbitrary :math:`ZZ` rotation: :class:`qibo.gates.RZZ`
- Fully-entangling :math:`ZZ`-interaction: :math:`R_{ZZ}(\\pi/2)`

- Pauli-:math:`Z` rotation: :class:`qibo.gates.RZ`
- Arbitrary :math:`ZZ` rotation: :class:`qibo.gates.RZZ`
- Fully-entangling :math:`ZZ`-interaction: :math:`R_{ZZ}(\\pi/2)`


_______________________
Expand Down
9 changes: 0 additions & 9 deletions examples/mvc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,6 @@ nx.draw(g, pos)
```



![png](README_files/README_7_0.png)




```python
print(f'Number of node is {len(g.nodes)}')
print(f'Number of edge is {len(g.edges)}')
Expand Down Expand Up @@ -186,9 +180,6 @@ ax1.set_title(f'Vertex cover in orange after fix')



![png](README_files/README_22_1.png)



### Calculate energy

Expand Down
4 changes: 1 addition & 3 deletions src/qibo/gates/special.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ def matrix(self, backend=None):
"""Returns matrix representation of special gate.
Args:
backend (:class:`qibo.backends.abstract.Backend`, optional): backend
to be used in the execution. If ``None``, it uses
:class:`qibo.backends.GlobalBackend`. Defaults to ``None``.
backend (:class:`qibo.backends.abstract.Backend`, optional): backend to be used in the execution. If ``None``, it uses :class:`qibo.backends.GlobalBackend`. Defaults to ``None``.
Returns:
ndarray: Matrix representation of special gate.
Expand Down

0 comments on commit 700d609

Please sign in to comment.