From e7be58724263a56de3f6c0564ad4c1fbd88b2a3d Mon Sep 17 00:00:00 2001 From: Kevin Krsulich Date: Thu, 28 Nov 2019 06:24:54 -0500 Subject: [PATCH] Revert addition of p as alias for s gate on QuantumCircuit. (#3505) --- qiskit/extensions/standard/s.py | 2 -- releasenotes/notes/add-cnot-alias-d4e4c8a409c85ad2.yaml | 8 -------- 2 files changed, 10 deletions(-) diff --git a/qiskit/extensions/standard/s.py b/qiskit/extensions/standard/s.py index 1114ffb77b..6a8c3350d1 100644 --- a/qiskit/extensions/standard/s.py +++ b/qiskit/extensions/standard/s.py @@ -95,5 +95,3 @@ def sdg(self, q): QuantumCircuit.s = s QuantumCircuit.sdg = sdg -QuantumCircuit.p = s -QuantumCircuit.pdg = sdg diff --git a/releasenotes/notes/add-cnot-alias-d4e4c8a409c85ad2.yaml b/releasenotes/notes/add-cnot-alias-d4e4c8a409c85ad2.yaml index 56fa201832..793681b71f 100644 --- a/releasenotes/notes/add-cnot-alias-d4e4c8a409c85ad2.yaml +++ b/releasenotes/notes/add-cnot-alias-d4e4c8a409c85ad2.yaml @@ -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.