diff --git a/CHANGES b/CHANGES index fc5bd91c5..d2ef372d2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -Pre-release +Version 4.3.3 - 8 August 2023 - Minor bugfix in pyqpp setup.py that prevented pip install from remote - Bug fix in qpp::QEngine::execute() that prevented setting the initial state of the engine to a custom state diff --git a/CMakeLists.txt b/CMakeLists.txt index 39d8666d9..9a9f5dc50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.15) -set(QPP_VERSION_NUM 4.3.2) +set(QPP_VERSION_NUM 4.3.3) set(QPP_VERSION_STR "${QPP_VERSION_NUM}") project(qpp VERSION ${QPP_VERSION_NUM} LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) diff --git a/Doxyfile b/Doxyfile index f932cc269..314ebb131 100644 --- a/Doxyfile +++ b/Doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = Quantum++ # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = v4.3.2 +PROJECT_NUMBER = v4.3.3 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/README.md b/README.md index c037917ab..dd78677b0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Quantum++ -## Version 4.3.2 - 12 June 2023 +## Version 4.3.3 - 8 August 2023 [![GitHub actions](https://github.com/softwareqinc/qpp/actions/workflows/cmake.yml/badge.svg)](https://github.com/softwareQinc/qpp/actions) diff --git a/VERSION b/VERSION index 2692e8556..93c9b269b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 4.3.2 - 12 June 2023 +Version 4.3.3 - 8 August 2023 diff --git a/include/classes/circuits/engines.hpp b/include/classes/circuits/engines.hpp index e72103194..17f994489 100644 --- a/include/classes/circuits/engines.hpp +++ b/include/classes/circuits/engines.hpp @@ -221,7 +221,7 @@ class QEngine : public IDisplay, public IJSON { if (psi.has_value()) { idx D = static_cast(std::llround( std::pow(qc_ptr_->get_d(), qc_ptr_->get_nq()))); - if (psi.value().rows() != D) { + if (static_cast(psi.value().rows()) != D) { if (static_cast(psi.value().rows()) != D) throw exception::DimsNotEqual( "qpp::QEngine::state_::reset()", "psi"); diff --git a/pyproject.toml b/pyproject.toml index f9732531c..b1a633d58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta" [project] name = "pyqpp" -version = "4.3.2" +version = "4.3.3" description = "Python 3 wrapper for Quantum++" authors = [ { name = "softwareQ Inc.", email = "info@softwareq.ca" },