Skip to content

Commit

Permalink
Leverage Rust circuit sequence construction for OneQubitEulerDecomposer
Browse files Browse the repository at this point in the history
This commit is a follow-up to Qiskit#9578 which added a rust implementation
of the second half of the single qubit euler decomposition routines and
leveraged them for the Optimize1qGatesDecomposition transpiler pass.
With that PR the Optimize1qGatesDecomposition no longer was dependent on
the OneQubitEulerDecomposer class. This commit continues from that PR
and updates the OneQubitEulerDecomposer to leverage the same Rust
implementation internally. Calling a decomposer object will internally
call the rust function to generate a circuit sequence and then return
either a QuantumCircuit or DAGCircuit (depending on the options).
Similarly all the angle computation is done directly in Rust.
  • Loading branch information
mtreinish committed Feb 14, 2023
1 parent 8b56342 commit 4eb071a
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 322 deletions.
Loading

0 comments on commit 4eb071a

Please sign in to comment.