Qiskit / qiskit

Qiskit is an open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.
https://www.ibm.com/quantum/qiskit
Apache License 2.0
4.82k stars 2.29k forks source link

Typo in the RZZgate documentation #12685

Open bowangle opened 3 days ago

bowangle commented 3 days ago

URL to the relevant documentation

https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.RZZGate#rzzgate examples section third equation

Select all that apply

Describe the fix.

In example section, third equation: R ZZ (θ=π)=−iZ⊗Z The i is missing.

shraddha-aangiras commented 3 days ago

Hi, I addressed it in https://github.com/Qiskit/qiskit/pull/12678 on the qiskit repo since the documentation text in the code was to be changed