Skip to content

Update factor 2 in hard-coded angles in convert_to_pauli_rotations.rs#15787

Merged
alexanderivrii merged 2 commits intoQiskit:mainfrom
ShellyGarion:pbc_ppr_factor
Mar 22, 2026
Merged

Update factor 2 in hard-coded angles in convert_to_pauli_rotations.rs#15787
alexanderivrii merged 2 commits intoQiskit:mainfrom
ShellyGarion:pbc_ppr_factor

Conversation

@ShellyGarion
Copy link
Copy Markdown
Member

Summary

The angles in convert_to_pauli_rotations.rs were originally computed for PauliEvolutionGate.
When we replaced it by PauliProductRotationGate, we didn't change the angles, just added a fator 2.0
Now we update the hard-coded angles and remove the factor 2.0.

Details and comments

@ShellyGarion ShellyGarion added this to the 2.5.0 milestone Mar 9, 2026
@ShellyGarion ShellyGarion requested a review from a team as a code owner March 9, 2026 13:46
@ShellyGarion ShellyGarion added the Changelog: None Do not include in the GitHub Release changelog. label Mar 9, 2026
@qiskit-bot
Copy link
Copy Markdown
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@ShellyGarion ShellyGarion added the fault tolerance related to fault tolerance compilation label Mar 9, 2026
@ShellyGarion ShellyGarion moved this from Ready to Done in Qiskit 2.5 Mar 12, 2026
Copy link
Copy Markdown
Member

@alexanderivrii alexanderivrii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Shelly, I admire your diligence - changing all the entries in every table so that we do not need to multiply by 2 later. But I agree that it's more consistent this way.

@alexanderivrii alexanderivrii added this pull request to the merge queue Mar 22, 2026
Merged via the queue into Qiskit:main with commit cf0f7b6 Mar 22, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in the GitHub Release changelog. fault tolerance related to fault tolerance compilation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants