Skip to content

Controlled Hamiltonian simulation not explicitly implemented #1413

Closed
@ejbobrow

Description

@ejbobrow

This is more of a feature request, but it looks like HamiltonianSimulationByGQSP doesn't have its own explicit control and uses the defaults for .controlled(). This gives errors like DecomposeTypeError: Could not build call graph for C[Toffoli]: Toffoli is atomic when trying to do resource counting with .t_complexity() or get_cost_value().

Maybe this could be extended by allowing for additional control in QubitizationWalkOperator with ControlledViaAnd and controlling the rotations in GeneralizedQSP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions