Revert addition of p as alias for s gate on QuantumCircuit. (#3505)

This commit is contained in:
Kevin Krsulich 2019-11-28 06:24:54 -05:00 committed by mergify[bot]
parent 8ececd1016
commit e7be587242
2 changed files with 0 additions and 10 deletions

View File

@ -95,5 +95,3 @@ def sdg(self, q):
QuantumCircuit.s = s
QuantumCircuit.sdg = sdg
QuantumCircuit.p = s
QuantumCircuit.pdg = sdg

View File

@ -12,11 +12,3 @@ features:
Add ``qiskit.QuantumCircuit.fredkin`` alias for the ``cswap`` method of
``QuantumCircuit``. The names ``fredkin`` and ``cswap`` are often used
interchangeably now the `cswap` method can be called with either name.
- |
Add ``qiskit.QuantumCircuit.p`` alias for the ``s`` method of
``QuantumCircuit``. The names ``p`` and ``s`` are often used
interchangeably now the `s` method can be called with either name.
- |
Add ``qiskit.QuantumCircuit.pdg`` alias for the ``sdg`` method of
``QuantumCircuit``. The names ``pdg`` and ``sdg`` are often used
interchangeably now the `sdg` method can be called with either name.