Skip to content

Commit

Permalink
v9.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Feb 8, 2024
1 parent f6a38de commit cc62dbf
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 3.9)
project (Qrack VERSION 9.4.2 DESCRIPTION "High Performance Quantum Bit Simulation" LANGUAGES CXX)
project (Qrack VERSION 9.4.3 DESCRIPTION "High Performance Quantum Bit Simulation" LANGUAGES CXX)

# Installation commands
include (GNUInstallDirs)
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
libqrack (9.4.3) focal; urgency=medium

* Bug fix for QBDD (Focal, 1/3)

-- Daniel Strano <[email protected]> Thu, 08 Feb 2024 08:39:22 -0500

libqrack (9.4.2) bionic; urgency=medium

* Auto fidelity estimation for near-Clifford rounding (Bionic, 3/3)
Expand Down
4 changes: 4 additions & 0 deletions include/wasm_api.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ bool release(quid sid, bitLenInt q);
* Total count of qubits in simulator instance
*/
bitLenInt num_qubits(quid sid);
/**
* Set bit string permutation eigenstate of simulator instance
*/
void SetPermutation(quid sid, bitCapInt p);

/**
* Output stabilizer simulation tableau to file (or raise exception for "get_error()" if incompatible simulator type)
Expand Down
5 changes: 5 additions & 0 deletions src/wasm_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,11 @@ bitLenInt num_qubits(quid sid)
return simulator->GetQubitCount();
}

void SetPermutation(quid sid, bitCapInt p) {
SIMULATOR_LOCK_GUARD_VOID(sid)
simulator->SetPermutation(p);
}

/**
* (External API) "X" Gate
*/
Expand Down

0 comments on commit cc62dbf

Please sign in to comment.