Functions for effecting many-qubit NOT gates.
More...
|
void | applyControlledMultiQubitNot (Qureg, int control, int *targets, int numTargets) |
|
void | applyMultiControlledMultiQubitNot (Qureg, int *controls, int numControls, int *targets, int numTargets) |
|
void | applyMultiQubitNot (Qureg, int *targets, int numTargets) |
|
void | applyMultiStateControlledMultiQubitNot (Qureg, int *controls, int *states, int numControls, int *targets, int numTargets) |
|
void | multiplyMultiQubitNot (Qureg qureg, int *targets, int numTargets) |
|
Functions for effecting many-qubit NOT gates.
◆ applyControlledMultiQubitNot()
void applyControlledMultiQubitNot |
( |
Qureg | qureg, |
|
|
int | control, |
|
|
int * | targets, |
|
|
int | numTargets ) |
- Note
- Documentation for this function or struct is under construction!
Definition at line 1280 of file operations.cpp.
1280 {
1281 validate_quregFields(qureg, __func__);
1282 validate_controlAndTargets(qureg, control, targets, numTargets, __func__);
1283
1284
1286}
void applyMultiStateControlledMultiQubitNot(Qureg qureg, int *controls, int *states, int numControls, int *targets, int numTargets)
◆ applyMultiControlledMultiQubitNot()
void applyMultiControlledMultiQubitNot |
( |
Qureg | qureg, |
|
|
int * | controls, |
|
|
int | numControls, |
|
|
int * | targets, |
|
|
int | numTargets ) |
- Note
- Documentation for this function or struct is under construction!
Definition at line 1288 of file operations.cpp.
1288 {
1289 validate_quregFields(qureg, __func__);
1290 validate_controlsAndTargets(qureg, controls, numControls, targets, numTargets, __func__);
1291
1292
1294}
◆ applyMultiQubitNot()
void applyMultiQubitNot |
( |
Qureg | qureg, |
|
|
int * | targets, |
|
|
int | numTargets ) |
- Note
- Documentation for this function or struct is under construction!
Definition at line 1272 of file operations.cpp.
1272 {
1273 validate_quregFields(qureg, __func__);
1274 validate_targets(qureg, targets, numTargets, __func__);
1275
1276
1278}
◆ applyMultiStateControlledMultiQubitNot()
void applyMultiStateControlledMultiQubitNot |
( |
Qureg | qureg, |
|
|
int * | controls, |
|
|
int * | states, |
|
|
int | numControls, |
|
|
int * | targets, |
|
|
int | numTargets ) |
- Note
- Documentation for this function or struct is under construction!
Definition at line 1296 of file operations.cpp.
1296 {
1297 validate_quregFields(qureg, __func__);
1298 validate_controlsAndTargets(qureg, controls, numControls, targets, numTargets, __func__);
1299 validate_controlStates(states, numControls, __func__);
1300
1301
1303
1304
1306}
void applyMultiStateControlledPauliStr(Qureg qureg, int *controls, int *states, int numControls, PauliStr str)
PauliStr getPauliStr(const char *paulis, int *indices, int numPaulis)
Referenced by applyControlledMultiQubitNot(), applyMultiControlledMultiQubitNot(), and applyMultiQubitNot().
◆ multiplyMultiQubitNot()
void multiplyMultiQubitNot |
( |
Qureg | qureg, |
|
|
int * | targets, |
|
|
int | numTargets ) |
- Note
- Documentation for this function or struct is under construction!
Definition at line 1264 of file operations.cpp.
1264 {
1265 validate_quregFields(qureg, __func__);
1266 validate_targets(qureg, targets, numTargets, __func__);
1267
1268
1270}
void multiplyPauliStr(Qureg qureg, PauliStr str)