9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-26 05:13:30 +01:00
qp2/page/try/index.html
2019-01-25 11:57:24 +01:00

278 lines
10 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>QP terminal</title>
<meta property="og:title" content="QP terminal" />
<meta name="twitter:title" content="QP terminal" />
<meta name="description" content="You can try Quantum Package in the terminal below. To configure the terminal for your favorite text editor, set the EDITOR environment variable:
export EDITOR=vim Here is an example of a few commands you can run to get the Full-CI energy of the HCN molecule.
First create a file named hcn.xyz containing the xyz coordinates.
$ cat &lt;&lt; EOF &gt; hcn.xyz 3 HCN molecule C 0.0 0.0 0.0 H 0.">
<meta property="og:description" content="You can try Quantum Package in the terminal below. To configure the terminal for your favorite text editor, set the EDITOR environment variable:
export EDITOR=vim Here is an example of a few commands you can run to get the Full-CI energy of the HCN molecule.
First create a file named hcn.xyz containing the xyz coordinates.
$ cat &lt;&lt; EOF &gt; hcn.xyz 3 HCN molecule C 0.0 0.0 0.0 H 0.">
<meta name="twitter:description" content="You can try Quantum Package in the terminal below. To configure the terminal for your favorite text editor, set the EDITOR environment variable:
export EDITOR=vim Here is an example of a few commands …">
<meta name="author" content=""/>
<link href='https://quantumpackage.github.io/qp2/img/favicon.ico' rel='icon' type='image/x-icon'/>
<meta property="og:image" content="https://quantumpackage.github.io/qp2/img/QP2_circle.png" />
<meta name="twitter:image" content="https://quantumpackage.github.io/qp2/img/QP2_circle.png" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@quantum_package" />
<meta name="twitter:creator" content="@quantum_package" />
<meta property="og:url" content="https://quantumpackage.github.io/page/try/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Quantum Package" />
<meta name="generator" content="Hugo 0.53" />
<link rel="canonical" href="https://quantumpackage.github.io/page/try/" />
<link rel="alternate" href="https://quantumpackage.github.io/qp2/index.xml" type="application/rss+xml" title="Quantum Package">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://quantumpackage.github.io/qp2/css/main.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
<link rel="stylesheet" href="https://quantumpackage.github.io/qp2/css/pygment_highlights.css" />
<link rel="stylesheet" href="https://quantumpackage.github.io/qp2/css/highlight.min.css" />
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://quantumpackage.github.io/qp2">Quantum Package</a>
</div>
<div class="collapse navbar-collapse" id="main-navbar">
<ul class="nav navbar-nav navbar-right">
<li>
<a title="Tutorials" href="https://quantumpackage.github.io/qp2/page/tutorials">Tutorials</a>
</li>
<li>
<a title="Documentation" href="https://quantum-package-scemamamaster.readthedocs.io/">Documentation</a>
</li>
<li>
<a title="Source code" href="https://github.com/QuantumPackage">Source code</a>
</li>
</ul>
</div>
<div class="avatar-container">
<div class="avatar-img-border">
<a title="Quantum Package" href="https://quantumpackage.github.io/qp2">
<img class="avatar-img" src="https://quantumpackage.github.io/qp2/img/QP2_circle.png" alt="Quantum Package" />
</a>
</div>
</div>
</div>
</nav>
<header class="header-section ">
<div class="intro-header no-img">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="page-heading">
<h1>QP terminal</h1>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<article role="main" class="blog-post">
<hr />
<p>You can try <em>Quantum Package</em> in the terminal below.
To configure the terminal for your favorite text editor,
set the <code>EDITOR</code> environment variable:</p>
<pre><code>export EDITOR=vim
</code></pre>
<p>Here is an example of a few commands you can run to
get the Full-CI energy of the HCN molecule.</p>
<p>First create a file named <code>hcn.xyz</code> containing the <em>xyz</em> coordinates.</p>
<pre><code>$ cat &lt;&lt; EOF &gt; hcn.xyz
3
HCN molecule
C 0.0 0.0 0.0
H 0.0 0.0 1.064
N 0.0 0.0 -1.156
EOF
</code></pre>
<p>Create the EZFIO database as follows:</p>
<pre><code>qp create_ezfio -b 6-31g hcn.xyz -o hcn
</code></pre>
<p>Run a Hartree-Fock calculation:</p>
<pre><code>qp run SCF | tee scf.out
</code></pre>
<p>The MOs are saved in the EZFIO database. Now freeze the core electrons:</p>
<pre><code>qp set_frozen_core
</code></pre>
<p>And run the CIPSI calculation in the valence full CI space:</p>
<pre><code>qp run fci | tee fci.out
</code></pre>
<p>That&rsquo;s it!</p>
<p><iframe id="shellframe" src="http://localhost:8080" width="100%" height="500" frameBorder="0" scrolling="no">Browser not compatible.</iframe>
</body></p>
</article>
<ul class="pager blog-pager">
<li class="previous">
<a href="https://quantumpackage.github.io/qp2/page/tutorials/" data-toggle="tooltip" data-placement="top" title="Video Tutorials">&larr; Previous Post</a>
</li>
</ul>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center footer-links">
<li>
<a href="mailto:quantum.package@gmail.com" title="Email me">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fas fa-envelope fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="https://github.com/LCPQ/qp2" title="GitHub">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fab fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="https://twitter.com/quantum_package" title="Twitter">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="https://www.youtube.com/channel/UC3a7Yakg9gk36G3HKDIFaYw" title="Youtube">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fab fa-youtube fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="credits copyright text-muted">
&nbsp;&bull;&nbsp;
2019
&nbsp;&bull;&nbsp;
<a href="https://quantumpackage.github.io/qp2">Quantum Package</a>
</p>
<p class="credits theme-by text-muted">
<a href="http://gohugo.io">Hugo v0.53</a> powered &nbsp;&bull;&nbsp; Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/halogenica/beautifulhugo">Beautiful Hugo</a>
</p>
</div>
</div>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js" integrity="sha384-/y1Nn9+QQAipbNQWU65krzJralCnuOasHncUFXGkdwntGeSvQicrYkiUBwsgUqc1" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/contrib/auto-render.min.js" integrity="sha384-dq1/gEHSxPZQ7DdrM82ID4YVol9BYyU7GbWlIwnwyPzotpoc57wDw/guX8EaYGPx" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://quantumpackage.github.io/qp2/js/main.js"></script>
<script src="https://quantumpackage.github.io/qp2/js/highlight.min.js"></script>
<script> hljs.initHighlightingOnLoad(); </script>
<script> renderMathInElement(document.body); </script>
</body>
</html>