Pauline Ollitrault
Pauline Ollitrault
Can be fixed by modifying these lines https://github.com/Qiskit/qiskit-nature/blob/f0a4be91e82133b35560dcb34149d1956ad1b431/qiskit_nature/operators/second_quantization/vibrational_op.py#L149-L164 as follows: ```python else: # Sparse label dense_labels = self._convert_to_dense_labels(data, num_modals) new_dense_labels = [] new_dense_coeffs = [] labels = [] for dense_label,...
Hi Marco, thanks for opening this issue! Here is how you should proceed: 1. write the code as a new mapper on the model of the direct_mapper: https://github.com/Qiskit/qiskit-nature/blob/main/qiskit_nature/mappers/second_quantization/direct_mapper.py 2. write...
Hi @MariaSapova! A fix is pending (see above), waiting to be merged