Ryan Hill

Results 54 comments of Ryan Hill

@Hope-Alemayehu Both are great but I would say optimizing for time, if I had to choose!

@Hope-Alemayehu How are things going? If you're finding the transpiler difficult to optimize, the [qbraid.interface.circuit_equality](https://github.com/qBraid/qBraid/blob/950f37378352ac4f2db87949ce607a3527ce227d/qbraid/interface/circuit_equality.py) module is another greater opportunity for improvement with CPython. Matrix calculations can be extremely costly...

@Hope-Alemayehu Yep that would be great! In addition, you could use `time.perf_counter()` to give a ballpark measurement of the actual speed-up in milliseconds for a given operation, comparing the old...

@shubhamkaushal765 Absolutely, go for it!

@shubhamkaushal765 Yes, that's what I meant! Thanks for the clarification

@devilkiller-ag Absolutely, go for it!

Relevant section is now here: (https://github.com/qBraid/qBraid/blob/aa86a58e0e55177e407efe86e7d1befc3a5ae4fb/qbraid/transpiler/braket/cirq_to_braket.py#L214-L216)

Hi @krpcannon, absolutely! Upon further investigation, this is actually a bug in [`cirq_rigetti.quil_output.py`](https://github.com/quantumlib/Cirq/blob/master/cirq-rigetti/cirq_rigetti/quil_output.py) that we hope to create a work-around for. For example, `cirq_rigetti` [maps](https://github.com/quantumlib/Cirq/blob/0e80fa52e40c38dcdabe80b577e2991a3e2f2dd4/cirq-rigetti/cirq_rigetti/quil_output.py#L329) the `cirq.ops.XXPowGate` to a function...

See [`create_release_branch.yml`](https://github.com/goodchemistryco/Tangelo/blob/59f5cb9fb4ae59f0d2bd5991c038a9f00b05d997/.github/workflows/create_release_branch.yml) as example.

https://github.com/qBraid/qBraid/blob/6bffe51322c34e992cdbe67ff74af681ddb87627/qbraid/transpiler/cirq_braket/convert_to_braket.py#L92 https://github.com/qBraid/qBraid/blob/6bffe51322c34e992cdbe67ff74af681ddb87627/qbraid/transpiler/cirq_braket/convert_to_braket.py#L264