updated libquantum 0.2.3 source files

This commit is contained in:
libquantum
2016-10-27 04:18:31 +09:00
parent 8f37efac24
commit 42c207188a
17 changed files with 11664 additions and 3901 deletions

View File

@@ -1,6 +1,6 @@
/* qureg.h: Declarations for qureg.c and inline hashing functions
Copyright 2003 Bjoern Butscher, Hendrik Weimer
Copyright 2003, 2004 Bjoern Butscher, Hendrik Weimer
This file is part of libquantum
@@ -67,6 +67,13 @@ extern void quantum_addscratch(int bits, quantum_reg *reg);
extern void quantum_print_hash(quantum_reg reg);
extern quantum_reg quantum_kronecker(quantum_reg *reg1, quantum_reg *reg2);
extern quantum_reg quantum_state_collapse(int bit, int value,
quantum_reg reg);
extern COMPLEX_FLOAT quantum_dot_product(quantum_reg *reg1, quantum_reg *reg2);
/* Our 64-bit multiplicative hash function */
static inline unsigned int