This report is the fourth deliverable of Task 6.2 – Quantum Rule-Based Systems (QRBS) for breast cancer detection of the NEASQC project. The document presents the work carried out so far, and is complementary to the other deliverables of this task. D6.11 (M32) will include a preliminary version of the RBS and QRBS software along with the specification of the IDC application that will be developed. The report begins with an introduction of the preliminary version of the QRBS software, presenting how the project is structured, providing some use examples of common operations users will make with the library, and a brief com-mentary on the library’s documentation which is presented in an appendix. Following that, we present the specification for the Invasive Ductal Carcinoma (IDC) application, based on previous work on quantum computing techniques and applying them to the clinical problem specifically. We continue by extending the work on previous deliverables regarding traceability and testing of the QRBS software, which is a critical part on making sure that the developed library provides valid and verified functionalities. To close the report, the conclusions obtained during the development of the work carried out are presented and some ideas for future work to be included in upcoming deliverables are shown., {"references":["Amin, M. B., Greene, F. L., Edge, S. B., Compton, C. C., Gershenwald, J. E., Brookland, R. K., Meyer, L., Gress, D. M., Byrd, D. R., & Winchester, D. P. (2017). The eighth edition ajcc cancer staging manual: Continuing to build a bridge from a population-based to a more \"personalized\" approach to cancer staging. CA: A Cancer Journal for Clinicians, 67(2), 93–99. https://doi.org/10.3322/caac.21388","Giuliano, A. E., Edge, S. B., & Hortobagyi, G. N. (2018). Eighth edition of the ajcc cancer staging manual: Breast cancer. Annals of Surgical Oncology, 25(7), 1783–1785. https://doi.org/10.1245/s10434-018-6486-6","Kruchten, P. (2004). The rational unified process: An introduction. Addison-Wesley.","Ledley, R. S., & Lusted, L. B. (1959). Reasoning foundations of medical diagnosis. Science, 130(3366), 9–21. https: //doi.org/10.1126/science.130.3366.9","Moret-Bonillo, V., Gomez Tato, A., Magaz Romero, S., Mosqueira-Rey, E., & Alvarez-Estevez, D. (2022). D6.9: Qrbs software specifications. https://doi.org/10.5281/zenodo.7299193","Moret-Bonillo, V., Magaz-Romero, S., & Mosqueira-Rey, E. (2022). Quantum computing for dealing with inaccurate knowledge related to the certainty factors model. Mathematics, 10(2). https://doi.org/10.3390/math10020189","Moret-Bonillo, V., Mosqueira-Rey, E., & Magaz-Romero, S. (2021). D6.5 Quantum Rule-Based System (QRBS) Requirement Analysis. https://doi.org/10.5281/zenodo.5949157","Moret-Bonillo, V., Mosqueira-Rey, E., Magaz-Romero, S., & Alvarez-Estevez, D. (2023). Hybrid classic-quantum computing for staging of invasive ductal carcinoma of breast. arXiv preprint arXiv:2303.10142. https://arxiv. org/abs/2303.10142","Moret-Bonillo, V., Mosqueira-Rey, E., Magaz-Romero, S., & G´omez-Tato, A. (2021). Quantum rule-based systems (qrbs) models, architecture and formal specification (D6. 2). https://www.neasqc.eu/wp- content/uploads/ 2021/05/NEASQC D6.2 QRBS-Models-Architecture-and-Formal-Specification-V1.5-Final.pdf","Waterman, D. A. (1985). A guide to expert systems. Addison-Wesley Longman Publishing Co., Inc."]}