Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
df8b97b
Migrate unified compiler to Catalyst
mudit2812 Nov 17, 2025
9536707
Fixing migration artifacts; linting
mudit2812 Nov 17, 2025
1453aae
Fix CI errors; Ignore unified compiler in coverage reports
mudit2812 Nov 17, 2025
efc0f88
Test out how graphviz is installed
mudit2812 Nov 17, 2025
10cd749
Lint some more
mudit2812 Nov 17, 2025
27de22d
Merge branch 'main' into migrate-unified-compiler
mudit2812 Nov 17, 2025
f7aa2b6
[skip ci] Skip CI
mudit2812 Nov 17, 2025
012f58b
[skip ci] Skip CI
mudit2812 Nov 17, 2025
f0a0c90
Merge branch 'migrate-unified-compiler' of https://github.com/PennyLa…
mudit2812 Nov 17, 2025
c98755e
Try installing graphviz with apt
mudit2812 Nov 17, 2025
bb5bd00
Fix codefactor complaints
mudit2812 Nov 17, 2025
1448472
Merge branch 'main' into migrate-unified-compiler
mudit2812 Nov 17, 2025
5e745f5
Try appeasing codefactor again
mudit2812 Nov 17, 2025
0409933
Try appeasing codefactor once again
mudit2812 Nov 17, 2025
e786a12
Pylint suppression
mudit2812 Nov 17, 2025
4ae10ff
Reduce complexity of stablehlo.reduce and stablehlo.dynamic_broadcast…
mudit2812 Nov 17, 2025
dc41a7b
Fix some failures
mudit2812 Nov 18, 2025
58b13e4
Try change to graphviz installation
mudit2812 Nov 18, 2025
4e5f904
Merge branch 'main' into migrate-unified-compiler
mudit2812 Nov 18, 2025
637d2cf
Try installing graphviz with pip
mudit2812 Nov 18, 2025
091c5e1
Merge branch 'main' into migrate-unified-compiler
mudit2812 Nov 18, 2025
64e0fd4
Try installing graphviz with both apt and pip
mudit2812 Nov 18, 2025
dc15d3a
Add utils file to remove conftest imports
mudit2812 Nov 18, 2025
e7e33d6
Merge branch 'main' into migrate-unified-compiler
mudit2812 Nov 18, 2025
f919e8d
Remove unused imports
mudit2812 Nov 18, 2025
005ba9f
Add graphviz dependencies to lightning.kokkos testing workflow
mudit2812 Nov 18, 2025
6117189
Update cookbook
mudit2812 Nov 18, 2025
6961324
Migrate all changelog entries from PennyLane
mudit2812 Nov 18, 2025
0fdbb46
Merge branch 'main' into migrate-unified-compiler
mudit2812 Nov 18, 2025
a868bc3
Add EOF new line to .codecov.yml
mudit2812 Nov 18, 2025
8f00b2f
change changelog entry slightly
mudit2812 Nov 18, 2025
22a6e6e
Merge branch 'main' into migrate-unified-compiler
mudit2812 Nov 20, 2025
b4a321d
Merge branch 'main' into migrate-unified-compiler
mudit2812 Nov 26, 2025
e3ef736
Copy over xdsl_conversion changes
jzaia18 Nov 26, 2025
b7995ff
Rename visualization -> inspection
jzaia18 Nov 26, 2025
67705a9
finalize migration of branch
jzaia18 Nov 26, 2025
e735ca2
Update CHANGELOG
jzaia18 Nov 26, 2025
a979216
Copy over changes from PennyLane
jzaia18 Nov 26, 2025
4cbe02a
Remove reference to 'remove-chained-self-inverses'
mudit2812 Nov 26, 2025
e8e84e6
Woops, forgot to add the main files
jzaia18 Nov 26, 2025
c5f08c3
Remove leftover references to pennylane.compiler.python_compiler
mudit2812 Nov 27, 2025
fe76357
Streamline circuit inspection utilities (#2237)
jzaia18 Dec 1, 2025
be3ff3a
Merge branch 'migrate-unified-compiler' into feature/xdsl-specs
jzaia18 Dec 1, 2025
46010b9
Update tests to match new specs output types
jzaia18 Dec 1, 2025
89402d0
Merge branch 'main' into chore/specs-outputs
jzaia18 Dec 1, 2025
3395581
Merge branch 'main' into migrate-unified-compiler
mudit2812 Dec 1, 2025
c21850f
Merge branch 'migrate-unified-compiler' into feature/xdsl-specs
jzaia18 Dec 1, 2025
ad7c306
Better display for 'all' in compbasis
jzaia18 Dec 1, 2025
a69c9ba
Remove more references to python_compiler
mudit2812 Dec 1, 2025
9d208f9
Address more code review comments
mudit2812 Dec 1, 2025
7946287
Merge branch 'migrate-unified-compiler' into feature/xdsl-specs
jzaia18 Dec 1, 2025
e223b3f
Undo accidental change
jzaia18 Dec 1, 2025
8ce6f96
Fix jit
mudit2812 Dec 1, 2025
664d24a
Fix jit again
mudit2812 Dec 1, 2025
e07a332
Merge branch 'main' into migrate-unified-compiler
mudit2812 Dec 1, 2025
f9035c0
Fix line-too-long
mudit2812 Dec 1, 2025
ca1aa3a
Merge branch 'migrate-unified-compiler' of https://github.com/PennyLa…
mudit2812 Dec 1, 2025
d146453
Merge branch 'migrate-unified-compiler' into feature/xdsl-specs
jzaia18 Dec 2, 2025
87be66c
Update specs unit tests
jzaia18 Dec 2, 2025
f43cb3d
Remove vestigial workaround
jzaia18 Dec 2, 2025
0e4cd8d
Apply suggestions from code review
jzaia18 Dec 2, 2025
ef7c6c9
Update frontend/test/pytest/python_interface/inspection/test_mlir_spe…
jzaia18 Dec 2, 2025
eb11eb0
Update function names and docs
jzaia18 Dec 2, 2025
869dcc0
Merge branch 'feature/xdsl-specs' of github.com:PennyLaneAI/catalyst …
jzaia18 Dec 2, 2025
611a0ea
Oops
jzaia18 Dec 2, 2025
6711a0f
Minor tweaks to simplify
jzaia18 Dec 2, 2025
0288e6c
Update unit tests
jzaia18 Dec 2, 2025
02bbdfc
Simplify unit tests
jzaia18 Dec 2, 2025
28ab6e6
Separate out collect_region into 2 functions, 1 for regions and 1 for…
jzaia18 Dec 2, 2025
32261bf
Update changelog
jzaia18 Dec 3, 2025
7f4eb06
Remove the local transform dialect (#2261)
mehrdad2m Dec 3, 2025
3947e05
Remove unneeded XDSL plugin load
jzaia18 Dec 3, 2025
a4e86cd
Merge branch 'migrate-unified-compiler' into feature/xdsl-specs
jzaia18 Dec 3, 2025
033223e
Merge branch 'main' into chore/specs-outputs
jzaia18 Dec 3, 2025
a8bfd06
Slight change to accomodate new control qubit counting
jzaia18 Dec 3, 2025
e0b2809
Merge branch 'chore/specs-outputs' into chore/specs-tests
jzaia18 Dec 3, 2025
24eb758
Merge branch 'main' into migrate-unified-compiler
dime10 Dec 3, 2025
2413520
Merge branch 'migrate-unified-compiler' into feature/xdsl-specs
jzaia18 Dec 4, 2025
9c6c193
Testing
jzaia18 Dec 4, 2025
5bf82d8
Apply PR review comments
jzaia18 Dec 4, 2025
d06ea85
Merge branch 'feature/xdsl-specs' into chore/specs-tests
jzaia18 Dec 4, 2025
621ca86
Add integration tests for specs
jzaia18 Dec 4, 2025
b6fb585
[skip ci] add importorskip for graphviz to mlir_graph tests
mudit2812 Dec 5, 2025
0b1f237
Merge branch 'migrate-unified-compiler' of https://github.com/PennyLa…
mudit2812 Dec 5, 2025
8ef2b58
Merge branch 'main' into migrate-unified-compiler
mudit2812 Dec 5, 2025
848795d
[skip ci] Skip CI
mudit2812 Dec 5, 2025
58e06f0
Merge branch 'migrate-unified-compiler' of https://github.com/PennyLa…
mudit2812 Dec 5, 2025
14eb727
Update .codecov.yml
mudit2812 Dec 5, 2025
7477272
Add better testing for Hamiltonians
jzaia18 Dec 5, 2025
dce6a8d
Merge branch 'migrate-unified-compiler' into feature/xdsl-specs
jzaia18 Dec 5, 2025
227b0d5
Check format matches
jzaia18 Dec 5, 2025
4907724
Add extra test for regular PL output format
jzaia18 Dec 5, 2025
14b8380
Small formatting fix
jzaia18 Dec 5, 2025
8980de6
Merge branch 'feature/xdsl-specs' of github.com:PennyLaneAI/catalyst …
jzaia18 Dec 5, 2025
e5211c2
Add tests for split-non-commuting
jzaia18 Dec 5, 2025
4badc05
Add graph decomp test
jzaia18 Dec 5, 2025
81102fc
Merge branch 'feature/xdsl-specs' into chore/specs-tests
jzaia18 Dec 5, 2025
c0521ba
Add test for subroutine
jzaia18 Dec 5, 2025
d9647ca
Merge branch 'main' into feature/xdsl-specs
jzaia18 Dec 5, 2025
b5802db
Fix botched merge
jzaia18 Dec 5, 2025
187d283
Fix changelog
jzaia18 Dec 5, 2025
0a4eba3
Placate codefactor
jzaia18 Dec 5, 2025
792e807
More codefactor nitpicks
jzaia18 Dec 5, 2025
2e96f6d
YET MORE NITPICKS!
jzaia18 Dec 5, 2025
cb7e79f
Merge branch 'feature/xdsl-specs' into chore/specs-tests
jzaia18 Dec 5, 2025
cf36054
Merge branch 'main' into chore/specs-outputs
jzaia18 Dec 8, 2025
dbc808b
Merge branch 'chore/specs-outputs' into chore/specs-tests
jzaia18 Dec 8, 2025
2430039
Add tests for bad inputs, standardize how hamiltonians are displayed
jzaia18 Dec 8, 2025
0cde206
Better match PL-side specs output
jzaia18 Dec 8, 2025
7dd63c5
Update frontend/test/pytest/test_specs.py
jzaia18 Dec 9, 2025
cce8deb
Merge branch 'main' into chore/specs-outputs
jzaia18 Dec 9, 2025
acf61c9
Merge branch 'chore/specs-outputs' into chore/specs-tests
jzaia18 Dec 9, 2025
586d0b9
Update PL version pin
jzaia18 Dec 9, 2025
b692315
Merge branch 'chore/specs-outputs' of github.com:PennyLaneAI/catalyst…
jzaia18 Dec 9, 2025
b28c411
Merge branch 'main' into chore/specs-outputs
jzaia18 Dec 9, 2025
44b6f55
Changelog
jzaia18 Dec 9, 2025
75712e8
Merge branch 'chore/specs-outputs' of github.com:PennyLaneAI/catalyst…
jzaia18 Dec 9, 2025
cf2a5b4
Fix bad merge
jzaia18 Dec 9, 2025
6eb241f
Merge branch 'chore/specs-outputs' into chore/specs-tests
jzaia18 Dec 9, 2025
0bdb073
Add PPR test
jzaia18 Dec 9, 2025
4fa4190
Merge branch 'main' into chore/specs-tests
jzaia18 Dec 9, 2025
d876810
Merge branch 'main' into chore/specs-tests
jzaia18 Dec 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,10 @@ def xdsl_to_qml_measurement_name(op, obs_op=None) -> str:
gate_name = f"{len(op.qubits)} wires"

elif op.name == "quantum.hamiltonian":
ops_list = [xdsl_to_qml_measurement_name(term.owner) for term in op.terms]
gate_name = f"Hamiltonian({', '.join(ops_list)})"
gate_name = f"Hamiltonian(num_terms={len(op.terms)})"

elif op.name == "quantum.tensor":
ops_list = [xdsl_to_qml_measurement_name(operand.owner) for operand in op.operands]
gate_name = " @ ".join(ops_list)
gate_name = f"Prod(num_terms={len(op.operands)})"

elif op.name == "quantum.namedobs":
gate_name = op.type.data.value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def circ():
num_allocs=2,
)

res = mlir_specs(circ, level=1, args=(0,))
res = mlir_specs(circ, level=1)
assert resources_equal(res, expected)

def test_subroutine(self):
Expand Down
Loading
Loading