Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Simulation/Simulators/SparseSimulator/Native/capi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ extern "C"
getSimulator(sim_id)->MCApplyAnd(std::vector<logical_qubit_id>(controls, controls + length), target);
}

MICROSOFT_QUANTUM_DECL void MCAdjointApplyAnd(unsigned sim_id,_In_ int length, _In_reads_(length) logical_qubit_id* controls, _In_ logical_qubit_id target){
MICROSOFT_QUANTUM_DECL void MCAdjointApplyAnd_cpp(unsigned sim_id,_In_ int length, _In_reads_(length) logical_qubit_id* controls, _In_ logical_qubit_id target){
getSimulator(sim_id)->MCApplyAndAdj(std::vector<logical_qubit_id>(controls, controls + length), target);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ include(CTest)
enable_testing()

set(CMAKE_MACOSX_RPATH 1)
add_executable(SparseSimulatorTests SparseSimulatorTests.cpp)
add_executable(SparseSimulatorTests SparseSimulatorTests.cpp TestHelpers.cpp)
add_test(SparseSimulatorTests SparseSimulatorTests)
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<UseFullPaths>true</UseFullPaths>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down