Algorithms are presented for sampling quantum microcanonical ensembles for a potential energy minimum and for the conical intersection at the minimum energy crossing point of two coupled electronic states. These ensembles may be used to initialize trajectories for chemical dynamics simulations. The unimolecular dynamics of a microcanonical ensemble about a potential energy minimum may be compared with the dynamics predicted by quantum Rice-Ramsperger-Kassel-Marcus (RRKM) theory. If the dynamics is non-RRKM, it will be of particular interest to determine which states have particularly long lifetimes. Initializing a microcanonical ensemble for the electronically excited state at a conical intersection is a model for electronic nonadiabatic dynamics. The trajectory surface-hopping approach may be used to study the ensuing chemical dynamics. A strength of the model is that zero-point energy conditions are included for the initial nonadiabatic dynamics at the conical intersection.