Skip to content
#

qml

Here are 1,337 public repositories matching this topic...

pennylane
albi3ro
albi3ro commented Jun 16, 2022

Right now, qml.operation.expand_matrix is often called in a code-block like:

if wire_order is None or self.wires == Wires(wire_order):
    return canonical_matrix

expand_matrix(canonical_matrix, wires=self.wires, wire_order=wire_order)

see [pennylane/operation.py Line 587](https://github.com/PennyLaneAI/pennylane/blob/b6fc5380abea6215661704ebe2f5cb8e7a599635/pennylane/operation.p

good first issue code quality 🎓

Improve this page

Add a description, image, and links to the qml topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the qml topic, visit your repo's landing page and select "manage topics."

Learn more