#include <math.h>
Go to the source code of this file.
Data Structures | |
struct | quantum_system |
Defines | |
#define | NQS_MAX 20 |
Typedefs | |
typedef int | quantum_system_state_vector_t [NQS_MAX] |
Functions | |
quantum_system * | quantum_system_new () |
quantum_system * | quantum_system_copy (quantum_system *qs) |
void | quantum_system_print (quantum_system *qs) |
void | quantum_system_free (quantum_system *qs) |
void | quantum_system_add (quantum_system *qs, int M) |
int | quantum_system_nstates (quantum_system *qs) |
void | quantum_system_state_vector (quantum_system *qs, int qsn, quantum_system_state_vector_t qsv) |
int | quantum_system_state_number (quantum_system *qs, quantum_system_state_vector_t qsv) |
#define NQS_MAX 20 |
typedef int quantum_system_state_vector_t[NQS_MAX] |
void quantum_system_add | ( | quantum_system * | qs, | |
int | M | |||
) |
quantum_system* quantum_system_copy | ( | quantum_system * | qs | ) |
void quantum_system_free | ( | quantum_system * | qs | ) |
quantum_system* quantum_system_new | ( | ) |
Create a new quantum_system object.
int quantum_system_nstates | ( | quantum_system * | qs | ) |
void quantum_system_print | ( | quantum_system * | qs | ) |
int quantum_system_state_number | ( | quantum_system * | qs, | |
quantum_system_state_vector_t | qsv | |||
) |
void quantum_system_state_vector | ( | quantum_system * | qs, | |
int | qsn, | |||
quantum_system_state_vector_t | qsv | |||
) |