From 01ac54629593d7915ccb9942d18d83f02725240d Mon Sep 17 00:00:00 2001 From: "Davide Gessa (dakk)" Date: Fri, 26 Jan 2024 12:43:53 +0100 Subject: [PATCH] fix docs --- .github/workflows/docs.yaml | 7 ++++--- docs/source/exporter.ipynb | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index f091af52..f3ff5367 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -4,6 +4,8 @@ on: [push, pull_request, workflow_dispatch] permissions: contents: write + +# pip install "scipy==0.11.0" qutip qutip_qip jobs: docs: @@ -16,9 +18,8 @@ jobs: - name: Install dependencies run: | pip install sphinx sphinx_rtd_theme sphinx_rtd_dark_mode myst_nb - pip install numpy - pip install "scipy==0.11.0" pennylane==0.33.1 pennylane-lightning==0.33.1 - pip install sympy qiskit-terra qiskit-aer matplotlib pylatexenc cirq qutip qutip_qip + pip install pennylane==0.33.1 pennylane-lightning==0.33.1 + pip install sympy qiskit-terra qiskit-aer matplotlib pylatexenc cirq python setup.py install - name: Sphinx build run: | diff --git a/docs/source/exporter.ipynb b/docs/source/exporter.ipynb index 8bde1698..563aa297 100644 --- a/docs/source/exporter.ipynb +++ b/docs/source/exporter.ipynb @@ -226,8 +226,9 @@ } ], "source": [ - "qc = hello_world.export(\"qutip\")\n", - "qc.gates" + "# Disabled on docs for a depencency problem\n", + "#qc = hello_world.export(\"qutip\")\n", + "#qc.gates" ] } ],