Addition of Generative Modeling Modules for QML #48
Annotations
50 errors
src/modules/applications/QML/generative_modeling/GenerativeModeling.py#L24
Too many instance attributes (11/10) (too-many-instance-attributes, R0902)
|
src/modules/applications/QML/generative_modeling/GenerativeModeling.py#L62
Parameter 'option' has been renamed to 'data_option' in overriding 'GenerativeModeling.get_default_submodule' method (arguments-renamed, W0237)
|
src/modules/applications/QML/generative_modeling/GenerativeModeling.py#L16
Standard import "from typing import Union" should be placed before "from utils import start_time_measurement, end_time_measurement" (wrong-import-order, C0411)
|
src/modules/applications/QML/transformations/PIT.py#L74
Line too long (135/120) (line-too-long, C0301)
|
src/modules/applications/QML/transformations/PIT.py#L65
Parameter 'option' has been renamed to 'circuit_option' in overriding 'PIT.get_default_submodule' method (arguments-renamed, W0237)
|
src/modules/applications/QML/transformations/PIT.py#L72
Number of parameters was 2 in 'Transformation.transform' and is now 3 in overriding 'PIT.transform' method (arguments-differ, W0221)
|
src/modules/applications/QML/transformations/PIT.py#L205
Method 'emp_integral_trans' should have "self" as first argument (no-self-argument, E0213)
|
src/modules/applications/QML/transformations/PIT.py#L208
Redefining built-in 'len' (redefined-builtin, W0622)
|
src/modules/applications/QML/transformations/PIT.py#L207
Instance of 'PIT' has no 'argsort' member (no-member, E1101)
|
src/modules/applications/QML/transformations/PIT.py#L208
Instance of 'PIT' has no 'size' member (no-member, E1101)
|
src/modules/applications/QML/transformations/PIT.py#L83
Attribute 'dataset_name' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/PIT.py#L84
Attribute 'dataset' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/PIT.py#L85
Attribute 'n_qubits' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/PIT.py#L86
Attribute 'grid_shape' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/PIT.py#L96
Attribute 'histogram_train_original' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/PIT.py#L101
Attribute 'histogram_train' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/Transformation.py#L106
Line too long (121/120) (line-too-long, C0301)
|
src/modules/applications/QML/transformations/Transformation.py#L66
Too many positional arguments for method call (too-many-function-args, E1121)
|
src/modules/applications/QML/transformations/Transformation.py#L84
Assigning result of a function call, where the function returns None (assignment-from-none, E1128)
|
src/modules/applications/QML/transformations/MinMax.py#L75
Line too long (138/120) (line-too-long, C0301)
|
src/modules/applications/QML/transformations/MinMax.py#L24
Too many instance attributes (11/10) (too-many-instance-attributes, R0902)
|
src/modules/applications/QML/transformations/MinMax.py#L53
Parameter 'option' has been renamed to 'circuit_option' in overriding 'MinMax.get_default_submodule' method (arguments-renamed, W0237)
|
src/modules/applications/QML/transformations/MinMax.py#L73
Number of parameters was 2 in 'Transformation.transform' and is now 3 in overriding 'MinMax.transform' method (arguments-differ, W0221)
|
src/modules/applications/QML/transformations/MinMax.py#L84
Attribute 'dataset_name' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/MinMax.py#L85
Attribute 'dataset' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/MinMax.py#L86
Attribute 'n_qubits' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/MinMax.py#L87
Attribute 'grid_shape' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/MinMax.py#L97
Attribute 'histogram_train_original' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/transformations/MinMax.py#L102
Attribute 'histogram_train' defined outside __init__ (attribute-defined-outside-init, W0201)
|
src/modules/applications/QML/circuits/CircuitStandard.py#L72
Parameter 'option' has been renamed to 'library_option' in overriding 'CircuitStandard.get_default_submodule' method (arguments-renamed, W0237)
|
src/modules/applications/QML/circuits/CircuitStandard.py#L103
Unused variable 'n' (unused-variable, W0612)
|
src/modules/applications/QML/circuits/CircuitCardinality.py#L58
Parameter 'option' has been renamed to 'library_option' in overriding 'CircuitCardinality.get_default_submodule' method (arguments-renamed, W0237)
|
src/modules/applications/QML/circuits/CircuitCopula.py#L76
Parameter 'option' has been renamed to 'library_option' in overriding 'CircuitCopula.get_default_submodule' method (arguments-renamed, W0237)
|
src/modules/applications/QML/libraries/Library.py#L28
Useless parent or super() delegation in method '__init__' (useless-parent-delegation, W0246)
|
src/modules/applications/QML/libraries/Library.py#L64
Instance of 'Library' has no 'select_backend' member (no-member, E1101)
|
src/modules/applications/QML/libraries/Library.py#L65
Too many positional arguments for method call (too-many-function-args, E1121)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L72
Line too long (125/120) (line-too-long, C0301)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L74
Line too long (177/120) (line-too-long, C0301)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L79
Line too long (203/120) (line-too-long, C0301)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L89
Line too long (161/120) (line-too-long, C0301)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L94
Line too long (187/120) (line-too-long, C0301)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L98
Parameter 'option' has been renamed to 'training_option' in overriding 'LibraryQiskit.get_default_submodule' method (arguments-renamed, W0237)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L182
Import outside toplevel (cusvaer) (import-outside-toplevel, C0415)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L183
Import outside toplevel (qiskit.providers.aer.AerSimulator) (import-outside-toplevel, C0415)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L195
Import outside toplevel (qiskit.Aer) (import-outside-toplevel, C0415)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L200
Import outside toplevel (qiskit.Aer) (import-outside-toplevel, C0415)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L205
Import outside toplevel (qiskit.Aer) (import-outside-toplevel, C0415)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L210
Import outside toplevel (qiskit.Aer) (import-outside-toplevel, C0415)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L215
Import outside toplevel (modules.devices.braket.Ionq.Ionq) (import-outside-toplevel, C0415)
|
src/modules/applications/QML/libraries/LibraryQiskit.py#L216
Import outside toplevel (qiskit_braket_provider.AWSBraketBackend, qiskit_braket_provider.AWSBraketProvider) (import-outside-toplevel, C0415)
|