From 27954c7461afc5813c23e84f4ad258e7603ba54f Mon Sep 17 00:00:00 2001 From: Julien Gacon Date: Thu, 10 Nov 2022 10:01:46 +0100 Subject: [PATCH] Fix docstring in `QuantumCircuit.tensor` --- qiskit/circuit/quantumcircuit.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py index e982a8046c35..2a2e8833f419 100644 --- a/qiskit/circuit/quantumcircuit.py +++ b/qiskit/circuit/quantumcircuit.py @@ -937,16 +937,16 @@ def tensor(self, other: "QuantumCircuit", inplace: bool = False) -> Optional["Qu Remember that in the little-endian convention the leftmost operation will be at the bottom of the circuit. See also - [the docs](qiskit.org/documentation/tutorials/circuits/3_summary_of_quantum_operations.html) + `the docs `__ for more information. .. parsed-literal:: - ┌────────┐ ┌─────┐ ┌─────┐ + ┌────────┐ ┌─────┐ ┌─────┐ q_0: ┤ bottom ├ ⊗ q_0: ┤ top ├ = q_0: ─┤ top ├── - └────────┘ └─────┘ ┌┴─────┴─┐ - q_1: ┤ bottom ├ - └────────┘ + └────────┘ └─────┘ ┌┴─────┴─┐ + q_1: ┤ bottom ├ + └────────┘ Args: other (QuantumCircuit): The other circuit to tensor this circuit with.