Skip to content

Commit

Permalink
Remove none type from docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankya2 committed Mar 4, 2024
1 parent 16aef2b commit a9730aa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
12 changes: 0 additions & 12 deletions src/qibotn/circuit_convertor.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ def state_vector_operands(self):
"""Create the operands for dense vector computation in the interleave
format.
Parameters:
None
Returns:
Operands for the contraction in the interleave format.
"""
Expand Down Expand Up @@ -106,9 +103,6 @@ def init_intermediate_circuit(self, circuit):
Parameters:
circuit (object): The quantum circuit object.
Returns:
None
"""
self.gate_tensors = []
gates_qubits = []
Expand Down Expand Up @@ -139,9 +133,6 @@ def init_basis_map(self, backend, dtype):
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)
Expand All @@ -157,9 +148,6 @@ def init_inverse_circuit(self, circuit):
Parameters:
circuit (object): The quantum circuit object.
Returns:
None
"""
self.gate_tensors_inverse = []
gates_qubits_inverse = []
Expand Down
3 changes: 0 additions & 3 deletions src/qibotn/circuit_to_mps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down
3 changes: 0 additions & 3 deletions src/qibotn/mps_contraction_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class MPSContractionHelper:
Parameters:
num_qubits: The number of qubits for the MPS.
Return:
None.
"""

def __init__(self, num_qubits):
Expand Down

0 comments on commit a9730aa

Please sign in to comment.