Skip to content

Automating controls qubits list as a function of input string #2

@mohith-work

Description

@mohith-work

The controls variable in the oracle function in Quantum_string_matching.ipynb has been hardcoded to "[3, 5, 6, 1, 2, 4, 0]". How do we get that list as a function of input string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions