Skip to content

Cirq to qiskit circuit #8

@vsprasannaa

Description

@vsprasannaa

I had a qiskit quantum circuit, which needed to be optimised (that is, to reduce gate operations). I used

cirq_circuit = Qiskit.to_cirq(qiskit_circuit)

and carried out optimisation in cirq. Following this, I tried

qusetta_ckt = Cirq.to_qusetta(optimised_cirq_circuit)
qiskit_circuit1 = Qiskit.from_qusetta(qusetta_ckt)

Unfortunately, I ran into this error for the last line:

ValueError: invalid literal for int() with base 10: 'Q(9'

Can someone please help with the issue? Thanks in advance!

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