Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve existing linting errors in PennyLane #2528

Merged
merged 18 commits into from
May 5, 2022
Merged

Resolve existing linting errors in PennyLane #2528

merged 18 commits into from
May 5, 2022

Conversation

dime10
Copy link
Contributor

@dime10 dime10 commented Apr 29, 2022

Existing linting errors were detected by running pylint pennylane from the repository root on master.
The errors were resolved in one of 3 ways as shown below, such that running the above command on this branch produces no errors.

Fixed issues

************* Module pennylane.gradients
pennylane/gradients/__init__.py:296:0: W0404: Reimport 'param_shift_hessian' (imported line 288) (reimported)

************* Module pennylane.transforms.control
pennylane/transforms/control.py:158:4: W0221: Number of parameters was 2 in 'Operation.adjoint' and is now 1 in overridden 'ControlledOperation.adjoint' method (arguments-differ)

************* Module pennylane.devices.tests.conftest
pennylane/devices/tests/conftest.py:149:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
pennylane/devices/tests/conftest.py:218:8: W0621: Redefining name 'device' from outer scope (line 89) (redefined-outer-name)

False positives (disable warning)

************* Module pennylane._grad
pennylane/_grad.py:67:28: E1123: Unexpected keyword argument 'argnum' in staticmethod call (unexpected-keyword-arg)
pennylane/_grad.py:67:28: E1120: No value for argument 'x' in staticmethod call (no-value-for-parameter)
pennylane/_grad.py:95:15: E1123: Unexpected keyword argument 'argnum' in staticmethod call (unexpected-keyword-arg)
pennylane/_grad.py:95:15: E1120: No value for argument 'x' in staticmethod call (no-value-for-parameter)

************* Module pennylane.operation
pennylane/operation.py:1117:20: E1123: Unexpected keyword argument 'wires' in method call (unexpected-keyword-arg)
pennylane/operation.py:1132:11: E1101: Instance of 'Operator' has no 'inverse' member (no-member)
pennylane/operation.py:2450:18: E1101: Instance of 'set' has no 'qubit' member (no-member)

************* Module pennylane.hf.molecule
pennylane/hf/molecule.py:180:12: E1136: Value 'self.mo_coefficients' is unsubscriptable (unsubscriptable-object)

************* Module pennylane.numpy.tensor
pennylane/numpy/tensor.py:216:8: E1101: Super of 'tensor' has no '__setstate__' member (no-member)

************* Module pennylane.transforms.adjoint
pennylane/transforms/adjoint.py:124:15: E1101: Instance of 'QueuingContext' has no 'operations' member (no-member)

************* Module pennylane.transforms.control
pennylane/transforms/control.py:52:21: E1101: Instance of 'QueuingContext' has no 'stop_recording' member (no-member)

************* Module pennylane.transforms.tape_expand
pennylane/transforms/tape_expand.py:162:53: E1130: bad operand type for unary ~: is_trainable (invalid-unary-operand-type)
pennylane/transforms/tape_expand.py:210:41: E1130: bad operand type for unary ~: is_trainable (invalid-unary-operand-type)

************* Module pennylane.devices.default_gaussian
pennylane/devices/default_gaussian.py:575:9: E1101: Instance of 'set' has no 'PolyXP' member (no-member)

************* Module pennylane.devices.tests.conftest
pennylane/devices/tests/conftest.py:92:4: W0612: Unused variable '__tracebackhide__' (unused-variable)

************* Module pennylane.devices.tests.test_gates
pennylane/devices/tests/test_gates.py:99:20: E1101: Instance of 'set' has no '_qubit__ops__' member (no-member)

************* Module pennylane.optimize.adagrad
pennylane/optimize/adagrad.py:15:0: E0611: No name 'sqrt' in module 'pennylane.numpy' (no-name-in-module)

************* Module pennylane.optimize.rms_prop
pennylane/optimize/rms_prop.py:15:0: E0611: No name 'sqrt' in module 'pennylane.numpy' (no-name-in-module)

************* Module pennylane.optimize.adam
pennylane/optimize/adam.py:15:0: E0611: No name 'sqrt' in module 'pennylane.numpy' (no-name-in-module)

************* Module pennylane.grouping.transformations
pennylane/grouping/transformations.py:62:11: E1101: Instance of 'QueuingContext' has no 'queue' member (no-member)

************* Module pennylane.qchem.molecule
pennylane/qchem/molecule.py:182:12: E1136: Value 'self.mo_coefficients' is unsubscriptable (unsubscriptable-object)

************* Module pennylane.interfaces.autograd
pennylane/interfaces/autograd.py:60:17: E1101: Instance of 'dict' has no 'tuple' member (no-member)
pennylane/interfaces/autograd.py:61:9: E1101: Instance of 'dict' has no 'list' member (no-member)

************* Module pennylane.interfaces.torch
pennylane/interfaces/torch.py:39:0: W0223: Method 'jvp' is abstract in class 'Function' but is not overridden (abstract-method)
pennylane/interfaces/torch.py:39:0: W0223: Method 'vjp' is abstract in class 'Function' but is not overridden (abstract-method)

************* Module pennylane.transforms.qfunc_transforms
pennylane/transforms/qfunc_transforms.py:86:8: E1101: Super of 'NonQueuingTape' has no '_process_queue' member (no-member)

Won't fix (disable warning)

************* Module pennylane._device
pennylane/_device.py:99:0: R0902: Too many instance attributes (13/7) (too-many-instance-attributes)

************* Module pennylane.transforms.optimization.pattern_matching
pennylane/transforms/optimization/pattern_matching.py:828:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)
pennylane/transforms/optimization/pattern_matching.py:1110:8: R1702: Too many nested blocks (9/5) (too-many-nested-blocks)
pennylane/transforms/optimization/pattern_matching.py:1110:8: R1702: Too many nested blocks (6/5) (too-many-nested-blocks)

************* Module pennylane.devices.tests.test_wires
pennylane/devices/tests/test_wires.py:57:4: R0913: Too many arguments (6/5) (too-many-arguments)
pennylane/devices/tests/test_wires.py:43:0: R0903: Too few public methods (1/2) (too-few-public-methods)

************* Module pennylane.ops.qubit.hamiltonian
pennylane/ops/qubit/hamiltonian.py:62:0: R0902: Too many instance attributes (8/7) (too-many-instance-attributes)

************* Module pennylane.collections.__init__
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.grouping -> pennylane.grouping.transformations -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane.transforms -> pennylane.transforms.transpile) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane.transforms -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane.transforms -> pennylane.transforms.optimization -> pennylane.transforms.optimization.commute_controlled) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane.interfaces -> pennylane.interfaces.execution -> pennylane.interfaces.jax) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane.qaoa -> pennylane.qaoa.cost) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.grouping -> pennylane.grouping.transformations -> pennylane.operation) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.circuit_graph) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.grouping -> pennylane.grouping.transformations) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.non_parametric_ops -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane._qubit_device -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.interfaces -> pennylane.interfaces.execution -> pennylane.interfaces.autograd) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qnode -> pennylane.interfaces -> pennylane.interfaces.execution -> pennylane.interfaces.autograd) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.debugging) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.optimization -> pennylane.transforms.optimization.merge_amplitude_embedding -> pennylane._device -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.adjoint -> pennylane.tape -> pennylane.tape.operation_recorder -> pennylane.tape.tape -> pennylane.measurements) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.hf -> pennylane.hf.tapering -> pennylane.hf.hamiltonian) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.hf -> pennylane.hf.hamiltonian) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qchem -> pennylane.qchem.tapering -> pennylane.hf.hamiltonian) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.fourier -> pennylane.fourier.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.fourier -> pennylane.fourier.qnode_spectrum -> pennylane.fourier.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.fourier -> pennylane.fourier.circuit_spectrum -> pennylane.fourier.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.fourier -> pennylane.fourier.reconstruct) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.vqe -> pennylane.vqe.vqe) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qaoa -> pennylane.qaoa.layers) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qaoa -> pennylane.qaoa.mixers) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.cv -> pennylane.ops.snapshot -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.transpile -> pennylane.ops.qubit -> pennylane.ops.snapshot -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.transpile -> pennylane.ops.qubit -> pennylane.ops.qubit.non_parametric_ops -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qaoa -> pennylane.qaoa.cycle -> pennylane.ops -> pennylane.ops.cv -> pennylane.ops.snapshot -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.broadcast) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.layers -> pennylane.templates.layers.random) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.layers -> pennylane.templates.layers.random) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.basis) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.angle) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.qaoaembedding) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.angle -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.non_parametric_ops -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.squeezing) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.displacement) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.iqp) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.tensornetworks -> pennylane.templates.tensornetworks.mera) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.tensornetworks -> pennylane.templates.tensornetworks.mps) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.tensornetworks -> pennylane.templates.tensornetworks.ttn) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.layers -> pennylane.templates.layers.particle_conserving_u2) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.layers -> pennylane.templates.layers.simplified_two_design) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.layers -> pennylane.templates.layers.cv_neural_net) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.layers -> pennylane.templates.layers.basic_entangler) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.layers -> pennylane.templates.layers.strongly_entangling) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.layers -> pennylane.templates.layers.particle_conserving_u1) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.layers -> pennylane.templates.layers.gate_fabric) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.all_singles_doubles) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.grover -> pennylane.ops -> pennylane.ops.cv -> pennylane.ops.snapshot -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.qmc) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.approx_time_evolution) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.interferometer) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.fermionic_double_excitation) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.commuting_evolution -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.arbitrary_unitary) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.fermionic_single_excitation) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.hilbert_schmidt) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.qpe) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.uccsd) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.kupccgsd) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.qft) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.permute -> pennylane.ops -> pennylane.ops.cv -> pennylane.ops.snapshot -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.state_preparation -> pennylane.templates.state_preparations -> pennylane.templates.state_preparations.basis) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.state_preparation -> pennylane.templates.state_preparations -> pennylane.templates.state_preparations.mottonen) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.state_preparation -> pennylane.templates.state_preparations -> pennylane.templates.state_preparations.arbitrary_state_preparation) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.batch_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.mitigate -> pennylane.transforms.batch_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.adjoint -> pennylane.tape -> pennylane.tape.operation_recorder -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.adjoint -> pennylane.tape -> pennylane.tape.stop_recording -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.transpile -> pennylane.tape.stop_recording -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms -> pennylane.transforms.transpile -> pennylane.tape.stop_recording -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.decompositions -> pennylane.transforms.decompositions.two_qubit_unitary) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.unitary_to_rot -> pennylane.transforms.decompositions -> pennylane.transforms.decompositions.two_qubit_unitary) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.specs) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.transpile -> pennylane.tape -> pennylane.tape.operation_recorder -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.control -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.transforms.adjoint -> pennylane.tape -> pennylane.tape.operation_recorder -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.adjoint -> pennylane.tape.stop_recording -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.insert_ops -> pennylane.tape -> pennylane.tape.operation_recorder -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qcut -> pennylane.grouping -> pennylane.grouping.transformations -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.defer_measurements -> pennylane.transforms -> pennylane.transforms.transpile -> pennylane.tape.stop_recording -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.optimization -> pennylane.transforms.optimization.pattern_matching -> pennylane.transforms.commutation_dag) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.batch_input -> pennylane.transforms.batch_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.classical_jacobian) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.op_transforms) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.batch_params -> pennylane.transforms.batch_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.condition -> pennylane.measurements) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane.transforms -> pennylane.transforms.condition) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.tape_expand -> pennylane.transforms.qfunc_transforms) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.tape_expand -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.hamiltonian_expand) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.metric_tensor -> pennylane.transforms.batch_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.adjoint_metric_tensor -> pennylane.transforms.metric_tensor -> pennylane.transforms.batch_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.measurement_grouping) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.decompositions -> pennylane.transforms.decompositions.two_qubit_unitary -> pennylane.transforms.decompositions.single_qubit_unitary) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane._device -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.optimization.cancel_inverses -> pennylane.ops.qubit.attributes -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.optimization -> pennylane.transforms.optimization.pattern_matching -> pennylane.ops.qubit.attributes -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane.transforms -> pennylane.transforms.optimization.undo_swaps) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.observables -> pennylane.ops.qubit.matrix_ops) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.optimization -> pennylane.transforms.optimization.single_qubit_fusion -> pennylane.ops.qubit -> pennylane.ops.qubit.observables -> pennylane.ops.qubit.matrix_ops) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.cancel_inverses -> pennylane.transforms -> pennylane.transforms.transpile -> pennylane.tape.stop_recording -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.optimization -> pennylane.transforms.optimization.merge_rotations -> pennylane.ops.qubit.attributes -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.remove_barrier -> pennylane.transforms -> pennylane.transforms.transpile -> pennylane.tape.stop_recording -> pennylane.tape.tape -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane.transforms -> pennylane.transforms.optimization.commute_controlled) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.optimization.single_qubit_fusion -> pennylane.ops.qubit -> pennylane.ops.qubit.observables -> pennylane.ops.qubit.matrix_ops) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.drawer.draw -> pennylane.drawer.tape_text -> pennylane.measurements) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.drawer -> pennylane.drawer.tape_text -> pennylane.measurements) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.drawer.draw -> pennylane.drawer.tape_mpl -> pennylane.ops -> pennylane.ops.cv -> pennylane.ops.snapshot -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.adjoint -> pennylane.tape -> pennylane.tape.operation_recorder -> pennylane.tape.tape -> pennylane.tape.unwrap) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.optimize -> pennylane.optimize.qng -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.optimize -> pennylane.optimize.rotosolve) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.optimize -> pennylane.optimize.shot_adaptive) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.optimize -> pennylane.optimize.lie_algebra) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.optimize -> pennylane.optimize.rotoselect) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.grouping -> pennylane.grouping.transformations -> pennylane.grouping.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.grouping -> pennylane.grouping.pauli) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.grouping -> pennylane.grouping.pauli -> pennylane.grouping.utils -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.grouping -> pennylane.grouping.optimize_measurements -> pennylane.grouping.transformations -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.grouping -> pennylane.grouping.group_observables) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane.interfaces -> pennylane.interfaces.execution -> pennylane.interfaces.jax_jit) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.interfaces -> pennylane.interfaces.execution -> pennylane.interfaces.tensorflow) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.interfaces -> pennylane.interfaces.execution -> pennylane.interfaces.tensorflow_autograph -> pennylane.interfaces.tensorflow) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.interfaces -> pennylane.interfaces.execution -> pennylane.interfaces.torch) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qchem -> pennylane.qchem.spin -> pennylane.qchem.observable_hf) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qchem -> pennylane.qchem.tapering -> pennylane.qchem.observable_hf) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qchem -> pennylane.qchem.hamiltonian -> pennylane.qchem.observable_hf) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qchem -> pennylane.qchem.number -> pennylane.qchem.observable_hf) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qchem -> pennylane.qchem.openfermion_obs) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qchem -> pennylane.qchem.convert) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qchem -> pennylane.qchem.dipole -> pennylane.qchem.observable_hf) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.cv -> pennylane.ops.identity -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.snapshot -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.channel -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.hamiltonian -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.qchem_ops) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.matrix_ops) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.arithmetic_ops) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.parametric_ops -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.non_parametric_ops -> pennylane.operation -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.templates.embeddings -> pennylane.templates.embeddings.amplitude -> pennylane.ops -> pennylane.ops.qubit -> pennylane.ops.qubit.parametric_ops -> pennylane.utils) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.state_preparations -> pennylane.templates.state_preparations.arbitrary_state_preparation) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.ops.functions -> pennylane.ops.functions.matrix) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.ops.functions -> pennylane.ops.functions.generator) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.ops.functions -> pennylane.ops.functions.eigvals) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.transforms.compile -> pennylane.transforms.optimization.commute_controlled -> pennylane.transforms -> pennylane.transforms.qmc -> pennylane.templates -> pennylane.templates.subroutines -> pennylane.templates.subroutines.commuting_evolution -> pennylane.gradients.general_shift_rules) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.gradients -> pennylane.gradients.param_shift_hessian -> pennylane.gradients.parameter_shift -> pennylane.gradients.gradient_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.gradients -> pennylane.gradients.param_shift_hessian -> pennylane.gradients.gradient_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.gradients -> pennylane.gradients.parameter_shift_cv -> pennylane.gradients.parameter_shift -> pennylane.gradients.gradient_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.gradients -> pennylane.gradients.param_shift_hessian -> pennylane.gradients.parameter_shift -> pennylane.gradients.finite_difference -> pennylane.gradients.gradient_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.gradients -> pennylane.gradients.parameter_shift_cv -> pennylane.gradients.gradient_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.gradients -> pennylane.gradients.hamiltonian_grad) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.gradients -> pennylane.gradients.param_shift_hessian -> pennylane.gradients.hessian_transform) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.qnn -> pennylane.qnn.cost) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.collections -> pennylane.collections.map) (cyclic-import)
pennylane/collections/__init__.py:1:0: R0401: Cyclic import (pennylane -> pennylane.collections.map) (cyclic-import)

W0404: Reimport 'param_shift_hessian' (imported line 288) (reimported)
E1101: Super of 'NonQueuingTape' has no '_process_queue' member (no-member)
R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
W0621: Redefining name 'device' from outer scope (line 89) (redefined-outer-name)
E0611: No name 'sqrt' in module 'pennylane.numpy' (no-name-in-module)
... decorators, dynamic attributes, or other reasons
@dime10
Copy link
Contributor Author

dime10 commented Apr 29, 2022

[sc-17361]

@PennyLaneAI PennyLaneAI deleted a comment from github-actions bot Apr 29, 2022
@codecov
Copy link

codecov bot commented Apr 29, 2022

Codecov Report

Merging #2528 (0a245d0) into master (5bad4fa) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2528   +/-   ##
=======================================
  Coverage   99.53%   99.53%           
=======================================
  Files         243      243           
  Lines       19414    19415    +1     
=======================================
+ Hits        19323    19324    +1     
  Misses         91       91           
Impacted Files Coverage Δ
pennylane/_device.py 98.06% <ø> (ø)
pennylane/_grad.py 100.00% <ø> (ø)
pennylane/gradients/parameter_shift_hessian.py 100.00% <ø> (ø)
pennylane/interfaces/autograd.py 100.00% <ø> (ø)
pennylane/interfaces/torch.py 100.00% <ø> (ø)
pennylane/numpy/tensor.py 97.53% <ø> (ø)
pennylane/ops/qubit/hamiltonian.py 100.00% <ø> (ø)
...nylane/transforms/optimization/pattern_matching.py 99.67% <ø> (ø)
pennylane/transforms/tape_expand.py 100.00% <ø> (ø)
pennylane/devices/default_gaussian.py 99.65% <100.00%> (ø)
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5bad4fa...0a245d0. Read the comment docs.

Copy link
Contributor

@antalszava antalszava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dime10, great updates! 🎉 Have a couple of questions, no blockers.

.pylintrc Show resolved Hide resolved
.pylintrc Show resolved Hide resolved
doc/releases/changelog-dev.md Show resolved Hide resolved
pennylane/_grad.py Show resolved Hide resolved
pennylane/devices/default_gaussian.py Outdated Show resolved Hide resolved
pennylane/operation.py Show resolved Hide resolved
pennylane/ops/qubit/non_parametric_ops.py Show resolved Hide resolved
pennylane/transforms/qfunc_transforms.py Outdated Show resolved Hide resolved
Copy link
Contributor

@albi3ro albi3ro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all this great work!

@dime10 dime10 merged commit a8feedd into master May 5, 2022
@dime10 dime10 deleted the linting branch May 5, 2022 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants