Skip to content

Commit

Permalink
Release of pyqtorch v1.0.0: Adjoint Differentiation Support (#122)
Browse files Browse the repository at this point in the history
Full remake of pyqtorch using a slim version of the former modules API
  • Loading branch information
dominikandreasseitz authored Oct 30, 2023
1 parent 2be68aa commit 647a7b4
Show file tree
Hide file tree
Showing 58 changed files with 1,440 additions and 8,653 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,12 @@ python -m hatch shell
python -m hatch run python my_script.py
```

!!! warning
`hatch` will not combine nicely with other environment managers such Conda. If you want to use Conda,
install it from source using `pip`:

```bash
# within the Conda environment
python -m pip install -e .
```
Please note that `hatch` will not combine nicely with other environment managers such Conda. If you want to use Conda, install `pyqtorch` from source using `pip`:

```bash
# within the Conda environment
python -m pip install -e .
```

## Contributing

Expand Down
239 changes: 0 additions & 239 deletions docs/QAOA.ipynb

This file was deleted.

1 change: 0 additions & 1 deletion docs/apply_gate.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/circuit.md

This file was deleted.

249 changes: 0 additions & 249 deletions docs/deprecated/QAOA.ipynb

This file was deleted.

451 changes: 0 additions & 451 deletions docs/deprecated/bench.py

This file was deleted.

489 changes: 0 additions & 489 deletions docs/deprecated/fit_function.ipynb

This file was deleted.

490 changes: 0 additions & 490 deletions docs/deprecated/getting_started.ipynb

This file was deleted.

612 changes: 0 additions & 612 deletions docs/deprecated/ham_evol_comparison.ipynb

This file was deleted.

264 changes: 0 additions & 264 deletions docs/deprecated/state_evolution.ipynb

This file was deleted.

11 changes: 11 additions & 0 deletions docs/docsutils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from __future__ import annotations

from io import StringIO

from matplotlib.figure import Figure


def fig_to_html(fig: Figure) -> str:
buffer = StringIO()
fig.savefig(buffer, format="svg")
return buffer.getvalue()
Loading

0 comments on commit 647a7b4

Please sign in to comment.