qpp icon indicating copy to clipboard operation
qpp copied to clipboard

Modern C++ quantum computing library

Results 6 qpp issues
Sort by recently updated
recently updated
newest added

The [regetti / grove](https://grove-docs.readthedocs.io/en/latest/arbitrary_state.html) API has this very convenient and useful function: `create_arbitrary_state()` I used to think it would be difficult to achieve that, but I am amazed a function...

enhancement

I'd like to suggest you put more references into the API doc or source code comments, preferably as what SciPy people do in their ["References"](https://docs.scipy.org/doc/numpy/reference/generated/numpy.linalg.eig.html) section. I don't mean that...

enhancement

Hi, `qpp::measure` causes the following Eigen assert: ``` /usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:366: void Eigen::PlainObjectBase::resizeLike(const Eigen::EigenBase&) [with OtherDerived = Eigen::CwiseNullaryOp; Derived = Eigen::Matrix]: Assertion `other.rows() == 1 || other.cols() == 1' failed. ``` I've...

Hi, Executing the following circuit ```c++ auto const circuit = qpp::QCircuit{ 3u } .CTRL(qpp::gt.X, { 0u }, { 1u, 2u }); ``` throws `"qpp::applyCTRL(): Matrix mismatch subsystems! [A/target]"` I've implemented...

``` ld: error: undefined symbol: testing::Test::TearDown() >>> referenced by qdummy_engine.cpp >>> unit_tests/CMakeFiles/unit_tests.dir/tests/classes/qdummy_engine.cpp.o:(vtable for qpp_QDummyEngine_execute_Iterator_Test) >>> referenced by qdummy_engine.cpp >>> unit_tests/CMakeFiles/unit_tests.dir/tests/classes/qdummy_engine.cpp.o:(vtable for qpp_QDummyEngine_execute_ValueType_Test) >>> referenced by qdummy_engine.cpp >>> unit_tests/CMakeFiles/unit_tests.dir/tests/classes/qdummy_engine.cpp.o:(vtable for qpp_QDummyEngine_execute_AllCircuitWithRepetitions_Test)...

Fix build with Clang Add clang-tidy check Fix minor issues has been showed by tidy.