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

Added merge rotation patterns for qml.Rot and qml.CRot #1270

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

update test_peephole_optimizations.py and MergeRotationsPatterns.cpp

a1d5504
Select commit
Loading
Failed to load commit list.
Open

Added merge rotation patterns for qml.Rot and qml.CRot #1270

update test_peephole_optimizations.py and MergeRotationsPatterns.cpp
a1d5504
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Nov 4, 2024 in 2s

7 issues found.

Annotations

Check notice on line 56 in mlir/lib/Quantum/Transforms/MergeRotationsPatterns.cpp

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

mlir/lib/Quantum/Transforms/MergeRotationsPatterns.cpp#L56

Redundant blank line at the start of a code block should be deleted. (whitespace/blank_line)

Check notice on line 78 in frontend/test/pytest/test_peephole_optimizations.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

frontend/test/pytest/test_peephole_optimizations.py#L78

Line too long (108/100) (line-too-long)

Check notice on line 51 in frontend/test/pytest/test_peephole_optimizations.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

frontend/test/pytest/test_peephole_optimizations.py#L51

Line too long (120/100) (line-too-long)

Check notice on line 76 in frontend/test/pytest/test_peephole_optimizations.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

frontend/test/pytest/test_peephole_optimizations.py#L76

Line too long (101/100) (line-too-long)

Check notice on line 73 in frontend/test/pytest/test_peephole_optimizations.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

frontend/test/pytest/test_peephole_optimizations.py#L73

Line too long (123/100) (line-too-long)

Check notice on line 31 in frontend/test/pytest/test_peephole_optimizations.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

frontend/test/pytest/test_peephole_optimizations.py#L31

Trailing whitespace (trailing-whitespace)

Check notice on line 32 in frontend/test/pytest/test_peephole_optimizations.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

frontend/test/pytest/test_peephole_optimizations.py#L32

Trailing whitespace (trailing-whitespace)