Remove none type from docstring

This commit is contained in:
tankya2
2024-03-04 18:29:35 +08:00
parent 16aef2b3f2
commit a9730aaeab
3 changed files with 0 additions and 18 deletions

View File

@@ -29,9 +29,6 @@ class QiboCircuitToEinsum:
"""Create the operands for dense vector computation in the interleave
format.
Parameters:
None
Returns:
Operands for the contraction in the interleave format.
"""
@@ -106,9 +103,6 @@ class QiboCircuitToEinsum:
Parameters:
circuit (object): The quantum circuit object.
Returns:
None
"""
self.gate_tensors = []
gates_qubits = []
@@ -139,9 +133,6 @@ class QiboCircuitToEinsum:
Parameters:
backend (object): The backend object providing the array conversion method.
dtype (object): The data type for the quantum state vectors.
Returns:
None
"""
asarray = backend.asarray
state_0 = asarray([1, 0], dtype=dtype)
@@ -157,9 +148,6 @@ class QiboCircuitToEinsum:
Parameters:
circuit (object): The quantum circuit object.
Returns:
None
"""
self.gate_tensors_inverse = []
gates_qubits_inverse = []