-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
bugSomething isn't workingSomething isn't workingstable backport potentialThe bug might be minimal and/or import enough to be port to stableThe bug might be minimal and/or import enough to be port to stable
Description
Information
- Qiskit Terra version: master @ d8b5f0f
- Python version: 3.5
- Operating system: osx
What is the current behavior?
As reported by @georgios-ts in the Qiskit slack, definition
s of parameterized gates are being generated with an incomplete ParameterTable
. Introduced by #4745 .
Steps to reproduce the problem
x = Parameter('x')
rx = RXGate(x)
print(rx.params)
print(rx.definition.parameters)
>> [Parameter(x)]
>> set()
What is the expected behavior?
Suggested solutions
for instr, _, _ in rules:
qc._update_parameter_table(instr)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstable backport potentialThe bug might be minimal and/or import enough to be port to stableThe bug might be minimal and/or import enough to be port to stable