Open woodsp-ibm opened 2 weeks ago
In chatting with Matthew
The parameter table was moved to rust though, if you're testing against main and want the number of parameter entries for a give parameter you can use
QuantumCircuit._data._get_entry_count(parameter)
which will return the count
In looking at this briefly I see there is no test case for the check that is failing (no coverage to have that error raised by tests) hence doing some different logic would ideally want a test case that checks that the error is raised so it can validate the new way, as well as the old!!, works as expected.
Some gradient tests are failing due to changes in QuantumCircuit
The change came from Qiskit/qiskit#12459 which is moving circuit logic into Rust.