qiskit-community / qiskit-metal

Quantum Hardware Design. Open-source project for engineers and scientists to design superconducting quantum devices with ease.
https://qiskit-community.github.io/qiskit-metal/
Apache License 2.0
279 stars 205 forks source link

fixed bug when cap matrices have different sizes #763

Closed quantum-quant closed 2 years ago

quantum-quant commented 2 years ago

What are the issues this pull addresses (issue numbers / links)?

Fixed bug when cap matrices have different sizes.

Need to flatten list of nodes before applying numpy.unique()

Did you add tests to cover your changes (yes/no)?

Did you update the documentation accordingly (yes/no)?

yes

Did you read the CONTRIBUTING document (yes/no)?

yes

Summary

Details and comments