From 6735f7482a71253c1b4861e4254d0ce9a2f1b43c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 29 Feb 2024 08:37:59 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/source/Quickstart.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/source/Quickstart.rst b/docs/source/Quickstart.rst index 3de8f32..570971f 100644 --- a/docs/source/Quickstart.rst +++ b/docs/source/Quickstart.rst @@ -9,13 +9,15 @@ QiboTN supports two backends cutensornet (using CuQuantum library) and Quimbback For CuQuantum library, .. testcode:: - qibo.set_backend(backend="qibotn", platform="cutensornet", runcard=computation_settings) + qibo.set_backend(backend="qibotn", platform="cutensornet", runcard=computation_settings) .. and for Quimb library .. testcode:: - qibo.set_backend(backend="qibotn", platform="QuimbBackend", runcard=computation_settings) + qibo.set_backend( + backend="qibotn", platform="QuimbBackend", runcard=computation_settings + ) .. Setting the runcard @@ -23,7 +25,14 @@ Setting the runcard Basic structure of runcard is .. testcode:: - computation_settings = {"MPI_enabled": False,"MPS_enabled": False,"NCCL_enabled": False,"expectation_enabled": {"pauli_string_pattern": "IXZ",}} + computation_settings = { + "MPI_enabled": False, + "MPS_enabled": False, + "NCCL_enabled": False, + "expectation_enabled": { + "pauli_string_pattern": "IXZ", + }, + } .. Basic example