Running test_noise.py reports an error:
Traceback (most recent call last):
File "D:/2022AAA-File/code/Quantum-Error-Correction-2024/Quantum Error Correction with Quantum Autoencoders-Using-Linux-2023/qae-qec-main/tests/test_noise.py", line 11, in
mixed_state = noise_model.prepare_noised_dataset(state="0_L", num_qubits=3)
AttributeError: 'Noise' object has no attribute 'prepare_noised_dataset'
The author needs to add the “prepare_noised_dataset” module to noise.py.
Running test_noise.py reports an error:
Traceback (most recent call last):
File "D:/2022AAA-File/code/Quantum-Error-Correction-2024/Quantum Error Correction with Quantum Autoencoders-Using-Linux-2023/qae-qec-main/tests/test_noise.py", line 11, in
mixed_state = noise_model.prepare_noised_dataset(state="0_L", num_qubits=3)
AttributeError: 'Noise' object has no attribute 'prepare_noised_dataset'
The author needs to add the “prepare_noised_dataset” module to noise.py.