Remove none type from docstring
This commit is contained in:
@@ -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 = []
|
||||
|
||||
@@ -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__(
|
||||
|
||||
@@ -19,9 +19,6 @@ class MPSContractionHelper:
|
||||
|
||||
Parameters:
|
||||
num_qubits: The number of qubits for the MPS.
|
||||
|
||||
Return:
|
||||
None.
|
||||
"""
|
||||
|
||||
def __init__(self, num_qubits):
|
||||
|
||||
Reference in New Issue
Block a user