Skip to content

OpenQasm support for ParameterizedEvolution #8957

@devx5f

Description

@devx5f

Feature details

Would be great to be able to see if the ParameterizedEvolution function can be supported for openqasm support.

@qml.qnode(dev)
def test_circuit(params, duration):
    qml.evolve(H)(params, t=duration)
    return qml.expval(qml.PauliZ(wire))

Currently running into the following error:

qsam_string = qml.to_openqasm(test_circuit)([0], 1)
ValueError: Operator ParametrizedEvolution not supported with to_openqasm and does not provide a decomposition.

Implementation

No response

How important would you say this feature is?

2: Somewhat important. Needed this quarter.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions