The Quantum Exact Simulation Toolkit v4.1.0
Loading...
Searching...
No Matches
Destructors

Functions for destroying existing channel data structures. More...

Functions

void destroyKrausMap (KrausMap map)
 
void destroySuperOp (SuperOp op)
 

Detailed Description

Functions for destroying existing channel data structures.

Function Documentation

◆ destroyKrausMap()

void destroyKrausMap ( KrausMap map)
Note
Documentation for this function or struct is under construction!

Definition at line 210 of file channels.cpp.

210 {
211 validate_krausMapFields(map, __func__);
212
213 freeKrausMap(map);
214}

Referenced by TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), and TEST_CASE().

◆ destroySuperOp()

void destroySuperOp ( SuperOp op)
Note
Documentation for this function or struct is under construction!

Definition at line 203 of file channels.cpp.

203 {
204 validate_superOpFields(op, __func__);
205
206 freeSuperOp(op);
207}

Referenced by TEST_CASE(), TEST_CASE(), TEST_CASE(), and TEST_CASE().