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 = []

View File

@@ -14,9 +14,6 @@ class QiboCircuitToMPS:
gate_algo(dict): Dictionary for SVD and QR settings.
datatype (str): Either single ("complex64") or double (complex128) precision.
rand_seed(int): Seed for random number generator.
Return:
None.
"""
def __init__(

View File

@@ -19,9 +19,6 @@ class MPSContractionHelper:
Parameters:
num_qubits: The number of qubits for the MPS.
Return:
None.
"""
def __init__(self, num_qubits):