qvm

Description Properties Methods Constants Examples See also






Description


The qvm object (Qub Visual Model) interfaces with QuB model files.



Properties


a = isassigned;



f = filename;



v = parvalue({name|index});
parvalue({name|index}) = v;




v = parcondvalue({name|index});
parcondvalue({name|index}) = v;




c = parchannel({name|index});
parchannel({name|index}) = c;




c = statecount;
statecount = c;




c = ratecount;



c = connected(state1, state2);
connected(state1, state2) = c;




c = channelcount;
channelcount = c;




p = prob[ability](state);
prob[ability](state) = p;




c = class(state);
class(state) = c;




a = amp(state);
amp(state) = a;




s = std(state);
std(state) = s;




c = cond(state);
cond(state) = c;




k = k0(state1, state2);
k0(state1, state2) = k;




k = k1(state1, state2);
k1(state1, state2) = k;




e = hasekp({index|name});



e = ekp({index|name});
ekp({index|name}) = e;




c = ekpcount;



gg = g;



p = freepar(par);
freepar(par) = p;




c = freeparcount;





Methods


assign[({name | index})];


The qvm can be assigned to any of the models open in QuB (0-based index). To clear the assignment, use ASSIGN_NONE}. To assign to the currently selected model, use ASSIGN_CURR}.

new(filename = f, silent = s);



open(filename = f, silent = s, readonly = ro, assignifopen = a, source = src);



save(filename = f, silent = s);



close(filename = n, force = f);



saveimage(filename = f);



clear;



addpar(name);



delpar(name);



setrateexp(state1 = s1, state2 = s2, rateexp = e);



r = rate(state1, state2);



calcmodel;



kintofreepars;



freetokinpars;



calcpeq;



generatep;



enforceconstraints;





Constants




Examples




See also





(C) 2008-2011 Lorin Milescu. Last modified: 01-20-2011