update tokens
This commit is contained in:
@@ -62,7 +62,7 @@ export default async function RootLayout({ children }) {
|
||||
dark: 59,
|
||||
light: 35
|
||||
}
|
||||
}} />
|
||||
}}/>
|
||||
<body>
|
||||
<Layout
|
||||
navbar={navbar}
|
||||
@@ -82,7 +82,7 @@ export default async function RootLayout({ children }) {
|
||||
sidebar={{ defaultMenuCollapseLevel: 1 }}
|
||||
pageMap={pageMap}
|
||||
// TODO: fix algolia search
|
||||
// search={<AlgoliaSearch />}
|
||||
search={<AlgoliaSearch />}
|
||||
>
|
||||
{children}
|
||||
{/* SpeedInsights in vercel */}
|
||||
|
||||
@@ -8,9 +8,9 @@ import '@docsearch/css';
|
||||
function AlgoliaSearch() {
|
||||
return (
|
||||
<DocSearch
|
||||
appId={process.env.NEXT_SEARCH_ALGOLIA_APP_ID || ''}
|
||||
indexName={process.env.NEXT_SEARCH_ALGOLIA_INDEX_NAME || ''}
|
||||
apiKey={process.env.NEXT_SEARCH_ALGOLIA_API_KEY || ''}
|
||||
appId={process.env.NEXT_SEARCH_ALGOLIA_APP_ID || 'NKGLZZZUBC'}
|
||||
indexName={process.env.NEXT_SEARCH_ALGOLIA_INDEX_NAME || 'notenextra_trance_0'}
|
||||
apiKey={process.env.NEXT_SEARCH_ALGOLIA_API_KEY || '727b389a61e862e590dfab9ce9df31a2'}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ This is a contradiction, so $|\psi^+\rangle$ is entangled.
|
||||
|
||||
#### Density operator
|
||||
|
||||
A density operator is a Hermitian, positive semi-definite operator with trace 1.
|
||||
A density operator is a [Hermitian](https://notenextra.trance-0.com/Math401/Math401_T5#definition-of-hermitian-operator), positive semi-definite operator with trace 1.
|
||||
|
||||
The density operator of a pure state $|\psi\rangle$ is $\rho=|\psi\rangle\langle\psi|$.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user